Example code for controlling an Arduino board using an iOS device.