Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain 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;
