SwiftyPi
summary
Raspberry Pi runs Ubuntu 16.04 and hosts a Vapor server while Swift code on the Pi is limited to Swift 3.1.1 (no ARM support for Swift 4.x), so the build uses WiringPi for CLI tests and the SwiftGPIO package to control pins. A mobile app talks to the Pi server and flips a GPIO-controlled LED and buzzer as a departure cue; the demo works live. Key constraints: no Vapor toolbox, careful physical vs GPIO pin numbering, and occasional loose wiring.
AI-written summary Β· about
chapters (13)
- 0:00Intro
- 1:27Evolution of Swift
- 2:07Enter... the Raspberry Pi
- 3:09Choosing the Operating System
- 6:40How to lay out our circuit?
- 8:25Disclaimer
- 9:20SwiftyGPIO
- 10:05Setting up the Led
- 11:21Led on/off
- 11:50Berlin Train System
- 13:06Setting up Vapor
- 15:33What have we done?
- 16:44Lessons learned part II








