GDP group 24 node core
Dependencies: EthernetInterface SDFileSystem mbed-rtos mbed snail MbedJSONValue
Revision 11:190d07f37ec0, committed 2015-01-11
- Comitter:
- jakehodges
- Date:
- Sun Jan 11 10:25:19 2015 +0000
- Parent:
- 10:13176e7bd4c8
- Child:
- 13:344f559bf5ec
- Commit message:
- Update ready line pin number to match PCBs
Changed in this revision
sensorinterface.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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 )