This is the firmware for the base version of the OpenSTEM Ranging Board hardware.
Dependencies: Servo USBDevice mbed
Fork of USBSerial_HelloWorld by
Diff: main.cpp
- Revision:
- 9:d88699a0905a
- Parent:
- 8:90f8322a65f8
- Child:
- 10:d74124f266cb
--- a/main.cpp Thu Dec 20 17:09:19 2012 +0000 +++ b/main.cpp Fri Mar 01 13:33:02 2013 +0000 @@ -3,15 +3,12 @@ //Virtual serial port over USB USBSerial serial; -DigitalOut l1(LED1); int main(void) { - int i = 0; - + while(1) { - serial.printf("I am a virtual serial port: %d\r\n", i++); - wait(0.1); - l1 = !l1; + serial.printf("I am a virtual serial port\r\n"); + wait(1); } } \ No newline at end of file