ave
Dependencies: QEI TextLCD mbed
Diff: start_led.cpp
- Revision:
- 0:3fd90568b788
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/start_led.cpp Thu Oct 17 01:49:27 2013 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" + +BusOut myleds(LED1, LED2, LED3, LED4); + +void start_led() +{ + myleds = 0x08; + wait(1); + myleds = 0x04; + wait(1); + myleds = 0x02; + wait(1); + myleds = 0x01; + wait(1); + myleds = 0; +} \ No newline at end of file