Once the Arduino was programmed, we could control the lamp
directly from the Android Amarino application. The Amarino
interface allows users to choose from a list of built-in Android
events (including accelerometer readings, compass readings, and
call received events) to send to Arduinos. We selected compass
events from the list and then also used the Amarino interface to
discover the Bluetooth enabled lamp and connect to it. Once we
connected, compass data was continually sent from the phone to
the lamp and we were able to use the phone as a remote control
color mixer.