September 2011
Intermediate to advanced
128 pages
2h 36m
English
We’ve now finished writing the code on both sides of the serial connection. Unplug whatever was plugged into your Mac, and connect all of the cables together. Start up the Paduino application and toggle one or two switches. You should see something that looks a lot like Figure 3-9 below.
Remember, once you’ve toggled a pin to HIGH, you can go ahead and unplug the serial cable from your iPad and the Arduino, because the pin state will be persistent.

Figure 3-9. The iPad connected to the Arduino using the Redpark cable (top), and a close up of the UISwitch positions and LEDs on the Arduino board (bottom)
Read now
Unlock full access