Simple test for commanding the RGB LED. Use your mbed websocket to send a message, composed by a letter and a number. The letter can be 'r', 'g', or 'b', which is the LED color, and the number is 0 or 1, which is the logic state. Remember that the board LEDs light up with a 0 level.

Dependencies:   WebSocketClient mbed-rtos mbed

mbed.bld

Committer:
quevedo
Date:
2014-08-07
Revision:
1:ba6266c183de
Parent:
0:35bd27c75bc9

File content as of revision 1:ba6266c183de:

http://mbed.org/users/mbed_official/code/mbed/builds/6213f644d804