mbed Sensor node for Instrumented Booth over ETH.
Dependencies: EthernetInterface-1 MaxbotixDriver Presence HTU21D_TEMP_HUMID_SENSOR_SAMPLE Resources SHARPIR mbed-rtos mbed-src WDT_K64F nsdl_lib
Fork of Trenton_Switch_LPC1768_ETH by
Revision 34:5678fdb45d84, committed 2014-12-16
- Comitter:
- erigow01
- Date:
- Tue Dec 16 12:19:19 2014 +0000
- Parent:
- 32:c957a1948ac1
- Commit message:
- Remove nsdl_tick stuff.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Dec 11 17:15:04 2014 +0000 +++ b/main.cpp Tue Dec 16 12:19:19 2014 +0000 @@ -61,7 +61,7 @@ void main_event_loop() { //For timing control - Timer nsdlTickTimer; +// Timer nsdlTickTimer; Timer registrationTimer; //Sensor timers... @@ -99,7 +99,7 @@ //Start Timers - nsdlTickTimer.start(); +// nsdlTickTimer.start(); registrationTimer.start(); #if NODE_SENSOR_STATION temperatureReportTimer.start(); @@ -134,10 +134,10 @@ } //NSDL Tick - if(nsdlTickTimer.read_ms() >= NSDL_TICK_PERIOD_MS) { - sn_nsdl_exec(time); - nsdlTickTimer.reset(); - } +// if(nsdlTickTimer.read_ms() >= NSDL_TICK_PERIOD_MS) { +// sn_nsdl_exec(time); +// nsdlTickTimer.reset(); +// } //Registration Tick if(registrationTimer.read_ms() >= RD_UPDATE_PERIOD_MS) {