Interface and application programming

In this assignment we are going to use multiple interfaces to communicate with a device to perform an action on a pheripheral connected to it. We are going to use processing and MIT app inventor to create interfaces that communicate and control a peripheral on the device.

Processing

We implemented a simple processing interface that has a button in it. When the button is clicked, it sends a message on the serial port to the device telling it to change the state of the LED.

MIT app inventor

We implemented a simple mobile app that connects to the device via bluetooth and communicates a command to change the state of the LED.

Downloads

MIT app inventor project