SmartREST client reference implementation for the u-blox C027 mbed compatible device.
Dependencies: C027 C027_Support mbed mbed-rtos MbedSmartRest LM75B MMA7660 C12832
Fork of MbedSmartRestTest by
Diff: io.cpp
- Revision:
- 18:6bce406b3da2
- Parent:
- 17:877a9a3148a4
- Child:
- 19:7bee744fe527
diff -r 877a9a3148a4 -r 6bce406b3da2 io.cpp --- a/io.cpp Tue Feb 18 15:51:57 2014 +0000 +++ b/io.cpp Tue Feb 18 15:57:38 2014 +0000 @@ -23,6 +23,11 @@ timer->start(50); tempFound = tempSensor.open(); accFound = accSensor.testConnection(); + + if (!tempFound) + puts("Temperature sensor not found."); + if (!accFound) + puts("Accelerometer not found."); } float temperature()