├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── archives ├── images │ ├── CloudWatch Temperature Graph.png │ └── I2C Communication Repeated Start.jpg ├── motor_test.py ├── swift-3.1.1-RPi23-1604.tgz └── swift-4.0-Rpi23-1604-snapshot-5c06e85.tgz ├── datasheets ├── BCM2835_PDF_Datasheet.pdf ├── MCP3008.pdf ├── Sensirion_Humidity_Sensors_SHT3x_Datasheet_digital.pdf └── ads1115.pdf ├── docs └── images │ └── TankTable.jpg ├── examples ├── BCM2835 │ ├── bcm2835.h │ └── module.modulemap ├── Rakefile ├── UnsafeMemory.playground │ ├── Contents.swift │ ├── contents.xcplayground │ └── playground.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ └── steven_hepting.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── blink ├── blink_register.c ├── direct ├── directMemory.swift ├── direct_addressing.c ├── direct_old ├── failed │ ├── sht30 │ │ ├── SHT30 │ │ ├── sht30.c │ │ ├── sht30.py │ │ └── sht3xd.c │ └── temp_c │ │ ├── dht │ │ ├── dht.c │ │ ├── dht.py │ │ └── run.sh ├── hello ├── hello.swift ├── memory └── random.dat ├── source ├── Package.pins ├── Package.resolved ├── Package.swift ├── Rakefile └── Sources │ ├── Home │ ├── AnalogReader.swift │ ├── DataStore.swift │ ├── LightSwitch.swift │ └── i2cdetect.swift │ └── RaspberrySwift │ └── main.swift ├── tank ├── .gitignore ├── Package.pins ├── Package.swift ├── Sources │ └── RaspberryTank │ │ ├── Motor.swift │ │ ├── Tank.swift │ │ └── main.swift └── Tests │ ├── LinuxMain.swift │ └── raspberryTankTests │ └── raspberryTankTests.swift └── tooling ├── common.rb └── swift_build.rb /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/README.md -------------------------------------------------------------------------------- /archives/images/CloudWatch Temperature Graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/archives/images/CloudWatch Temperature Graph.png -------------------------------------------------------------------------------- /archives/images/I2C Communication Repeated Start.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/archives/images/I2C Communication Repeated Start.jpg -------------------------------------------------------------------------------- /archives/motor_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/archives/motor_test.py -------------------------------------------------------------------------------- /archives/swift-3.1.1-RPi23-1604.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/archives/swift-3.1.1-RPi23-1604.tgz -------------------------------------------------------------------------------- /archives/swift-4.0-Rpi23-1604-snapshot-5c06e85.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/archives/swift-4.0-Rpi23-1604-snapshot-5c06e85.tgz -------------------------------------------------------------------------------- /datasheets/BCM2835_PDF_Datasheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/datasheets/BCM2835_PDF_Datasheet.pdf -------------------------------------------------------------------------------- /datasheets/MCP3008.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/datasheets/MCP3008.pdf -------------------------------------------------------------------------------- /datasheets/Sensirion_Humidity_Sensors_SHT3x_Datasheet_digital.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/datasheets/Sensirion_Humidity_Sensors_SHT3x_Datasheet_digital.pdf -------------------------------------------------------------------------------- /datasheets/ads1115.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/datasheets/ads1115.pdf -------------------------------------------------------------------------------- /docs/images/TankTable.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/docs/images/TankTable.jpg -------------------------------------------------------------------------------- /examples/BCM2835/bcm2835.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/BCM2835/bcm2835.h -------------------------------------------------------------------------------- /examples/BCM2835/module.modulemap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/BCM2835/module.modulemap -------------------------------------------------------------------------------- /examples/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/Rakefile -------------------------------------------------------------------------------- /examples/UnsafeMemory.playground/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/UnsafeMemory.playground/Contents.swift -------------------------------------------------------------------------------- /examples/UnsafeMemory.playground/contents.xcplayground: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/UnsafeMemory.playground/contents.xcplayground -------------------------------------------------------------------------------- /examples/UnsafeMemory.playground/playground.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/UnsafeMemory.playground/playground.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /examples/UnsafeMemory.playground/playground.xcworkspace/xcuserdata/steven_hepting.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/UnsafeMemory.playground/playground.xcworkspace/xcuserdata/steven_hepting.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /examples/blink: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/blink -------------------------------------------------------------------------------- /examples/blink_register.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/blink_register.c -------------------------------------------------------------------------------- /examples/direct: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/direct -------------------------------------------------------------------------------- /examples/directMemory.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/directMemory.swift -------------------------------------------------------------------------------- /examples/direct_addressing.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/direct_addressing.c -------------------------------------------------------------------------------- /examples/direct_old: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/direct_old -------------------------------------------------------------------------------- /examples/failed/sht30/SHT30: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/failed/sht30/SHT30 -------------------------------------------------------------------------------- /examples/failed/sht30/sht30.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/failed/sht30/sht30.c -------------------------------------------------------------------------------- /examples/failed/sht30/sht30.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/failed/sht30/sht30.py -------------------------------------------------------------------------------- /examples/failed/sht30/sht3xd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/failed/sht30/sht3xd.c -------------------------------------------------------------------------------- /examples/failed/temp_c/dht: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/failed/temp_c/dht -------------------------------------------------------------------------------- /examples/failed/temp_c/dht.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/failed/temp_c/dht.c -------------------------------------------------------------------------------- /examples/failed/temp_c/dht.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/failed/temp_c/dht.py -------------------------------------------------------------------------------- /examples/failed/temp_c/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/failed/temp_c/run.sh -------------------------------------------------------------------------------- /examples/hello: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/hello -------------------------------------------------------------------------------- /examples/hello.swift: -------------------------------------------------------------------------------- 1 | print("Hello Swift Summit") 2 | -------------------------------------------------------------------------------- /examples/memory: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/memory -------------------------------------------------------------------------------- /examples/random.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/examples/random.dat -------------------------------------------------------------------------------- /source/Package.pins: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/source/Package.pins -------------------------------------------------------------------------------- /source/Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/source/Package.resolved -------------------------------------------------------------------------------- /source/Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/source/Package.swift -------------------------------------------------------------------------------- /source/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/source/Rakefile -------------------------------------------------------------------------------- /source/Sources/Home/AnalogReader.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/source/Sources/Home/AnalogReader.swift -------------------------------------------------------------------------------- /source/Sources/Home/DataStore.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/source/Sources/Home/DataStore.swift -------------------------------------------------------------------------------- /source/Sources/Home/LightSwitch.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/source/Sources/Home/LightSwitch.swift -------------------------------------------------------------------------------- /source/Sources/Home/i2cdetect.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/source/Sources/Home/i2cdetect.swift -------------------------------------------------------------------------------- /source/Sources/RaspberrySwift/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/source/Sources/RaspberrySwift/main.swift -------------------------------------------------------------------------------- /tank/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | -------------------------------------------------------------------------------- /tank/Package.pins: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/tank/Package.pins -------------------------------------------------------------------------------- /tank/Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/tank/Package.swift -------------------------------------------------------------------------------- /tank/Sources/RaspberryTank/Motor.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/tank/Sources/RaspberryTank/Motor.swift -------------------------------------------------------------------------------- /tank/Sources/RaspberryTank/Tank.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/tank/Sources/RaspberryTank/Tank.swift -------------------------------------------------------------------------------- /tank/Sources/RaspberryTank/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/tank/Sources/RaspberryTank/main.swift -------------------------------------------------------------------------------- /tank/Tests/LinuxMain.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/tank/Tests/LinuxMain.swift -------------------------------------------------------------------------------- /tank/Tests/raspberryTankTests/raspberryTankTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/tank/Tests/raspberryTankTests/raspberryTankTests.swift -------------------------------------------------------------------------------- /tooling/common.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/tooling/common.rb -------------------------------------------------------------------------------- /tooling/swift_build.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shepting/raspberry-swift/HEAD/tooling/swift_build.rb --------------------------------------------------------------------------------