GDP group 24 node core
Dependencies: EthernetInterface SDFileSystem mbed-rtos mbed snail MbedJSONValue
Diff: sensorinterface.cpp
- Revision:
- 11:190d07f37ec0
- Parent:
- 3:71b090ec5c69
- Child:
- 14:bc0e2fa25f94
--- a/sensorinterface.cpp Tue Dec 23 21:28:40 2014 +0000 +++ b/sensorinterface.cpp Sun Jan 11 10:25:19 2015 +0000 @@ -1,6 +1,6 @@ #include "sensorinterface.h" -sensorinterface::sensorinterface() : i2c(p28,p27), readyLine(p30) +sensorinterface::sensorinterface() : i2c(p28,p27), readyLine(p29) { readyLine.fall(this, &sensorinterface::readyTrigger); @@ -188,6 +188,7 @@ #endif } + // TODO sync ready property to ready line - don't manually this->ready = false; if (currentSensor != sensors.end() && sensors.size() > 1 )