one lap kind of works
Dependencies: FatFileSystem MSCFileSystem btbee m3pi_ng mbed
Fork of Robot by
main.cpp@1:42bba20ee253, 2015-05-18 (annotated)
- Committer:
- nbtavis
- Date:
- Mon May 18 12:22:57 2015 +0000
- Revision:
- 1:42bba20ee253
- Parent:
- 0:17669460c6b1
- Child:
- 2:80a1ed62c307
Test commit;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bbabbs | 0:17669460c6b1 | 1 | #include "mbed.h" |
bbabbs | 0:17669460c6b1 | 2 | #include "btbee.h" |
bbabbs | 0:17669460c6b1 | 3 | #include "m3pi_ng.h" |
bbabbs | 0:17669460c6b1 | 4 | |
nbtavis | 1:42bba20ee253 | 5 | DigitalOut myled(LED1); |
bbabbs | 0:17669460c6b1 | 6 | |
bbabbs | 0:17669460c6b1 | 7 | int main(){ |
bbabbs | 0:17669460c6b1 | 8 | |
nbtavis | 1:42bba20ee253 | 9 | while(1){ |
nbtavis | 1:42bba20ee253 | 10 | myled = 1; |
nbtavis | 1:42bba20ee253 | 11 | wait(0.2); |
nbtavis | 1:42bba20ee253 | 12 | myled = 0; |
nbtavis | 1:42bba20ee253 | 13 | wait(0.2); |
bbabbs | 0:17669460c6b1 | 14 | } |
nbtavis | 1:42bba20ee253 | 15 | |
bbabbs | 0:17669460c6b1 | 16 | } |