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:
- 17:877a9a3148a4
- Parent:
- 15:0ccf0f530a05
- Child:
- 18:6bce406b3da2
--- a/io.cpp Tue Feb 18 15:37:50 2014 +0000 +++ b/io.cpp Tue Feb 18 15:51:57 2014 +0000 @@ -4,10 +4,12 @@ void timer_callback(void const*); // Using Arduino pin notation -LM75B tempSensor(SDA, SCL); -MMA7660 accSensor(p28, p27); -DigitalIn button(p14); -//C12832 lcdDisplay(D11, D13, D12, D7, D10); +C12832 lcdDisplay(D11, D13, D12, D7, D10); +MMA7660 accSensor(SDA,SCL); +LM75B tempSensor(SDA,SCL); +DigitalOut button(D4); +AnalogIn meter1(A0); +AnalogIn meter2(A1); RtosTimer *timer;