O'Reilly logo

Program the Internet of Things with Swift for iOS by Manny de la Torriente, Gheorghe Chesler, Ahmed Bakir

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    12

Building an App That Interacts with a Raspberry Pi

Gheorghe Chesler

In this chapter, we will write an app that communicates with a Raspberry Pi device on the local Wi-Fi network that allows us to flip the lights on and off on a custom module with LEDs. This might not seem like a significant accomplishment, but keep in mind that just as you can flip on and off some LED lights, you can control any other connected devices in a similar fashion.

About Your Raspberry Pi

Raspberry Pi is a miniaturized ARM computer that can run different operating systems. By default, this runs a variant of Debian Linux customized for this device, called Raspbian. On the Raspberry Pi 2 you can also install Ubuntu, RiscOS, and recently even a slimmed-down, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required