tugboat project
Dependencies: TinyGPS HMC5883L MMA8451Q mbed PwmIn
Diff: main.cpp
- Revision:
- 5:ce6688d37d12
- Parent:
- 4:7fb44cbc97a3
- Child:
- 6:2d7e4561625c
diff -r 7fb44cbc97a3 -r ce6688d37d12 main.cpp --- a/main.cpp Thu Sep 05 14:36:25 2013 +0000 +++ b/main.cpp Thu Sep 05 18:04:18 2013 +0000 @@ -38,6 +38,9 @@ pc.baud(115200); radio.baud(57600); + + pc.printf("pre - inited\r\n"); + radio.printf("pre - inited\r\n"); int16_t dCompass[3]; float dAcc[3]; compass.init(); @@ -130,6 +133,10 @@ radioFlush(); } } + else{ + //we shouldnt be here do nothing + + } }