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
WebSocketClient.lib@0:35bd27c75bc9, 2014-08-07 (annotated)
- Committer:
- quevedo
- Date:
- Thu Aug 07 17:48:14 2014 +0000
- Revision:
- 0:35bd27c75bc9
First version;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
quevedo | 0:35bd27c75bc9 | 1 | http://mbed.org/users/quevedo/code/WebSocketClient/#0277fee23572 |