New work version with additional functions
Dependencies: 4DGL-UC ConfigFile MODSERIAL mbed mbos
Fork of CDU_Mbed_35 by
Diff: main.cpp
- Revision:
- 3:58382fa6e555
- Parent:
- 2:cdc3ccd10040
- Child:
- 5:99594f4ab659
--- a/main.cpp Mon Nov 26 16:38:37 2012 +0000 +++ b/main.cpp Wed Nov 28 14:24:08 2012 +0000 @@ -4,7 +4,8 @@ void init_USB(); -void decode_string(); +//void decode_string(); +void collect_decode_FSdata(); main() { @@ -12,8 +13,9 @@ init_USB(); // setup USB communication while (1) { // this is my endless main loop : - led1 = !led1; // : toggle LED1 to show this loop - wait(0.5); // : can be interrupted ??????????? - decode_string(); // : call decoder to proces any valid command string received + led1 = !led1; // : toggle LED1 to show running program + wait(0.1); // : can be interrupted ??????????? + // decode_string(); // : call decoder to proces any valid command string received + collect_decode_FSdata(); } } \ No newline at end of file