one lap kind of works
Dependencies: FatFileSystem MSCFileSystem btbee m3pi_ng mbed
Fork of Robot by
Diff: main.cpp
- Revision:
- 1:42bba20ee253
- Parent:
- 0:17669460c6b1
- Child:
- 2:80a1ed62c307
--- a/main.cpp Mon May 18 11:55:03 2015 +0000 +++ b/main.cpp Mon May 18 12:22:57 2015 +0000 @@ -2,15 +2,15 @@ #include "btbee.h" #include "m3pi_ng.h" -using namespace std; +DigitalOut myled(LED1); int main(){ - while(true){ - - int x =2; - - + while(1){ + myled = 1; + wait(0.2); + myled = 0; + wait(0.2); } - return 0; + } \ No newline at end of file