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 35:b0c1b676403a, committed 2014-12-16
- Comitter:
- erigow01
- Date:
- Tue Dec 16 12:22:47 2014 +0000
- Parent:
- 33:d39c30e9264b
- Child:
- 36:bb8c769065de
- Commit message:
- Removed nsdl_tick calls.
Changed in this revision
EthernetInterface.lib | Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/EthernetInterface.lib Fri Dec 12 16:46:43 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://developer.mbed.org/users/andcor02/code/EthernetInterface/#eb44cf92c7a3
--- a/main.cpp Fri Dec 12 16:46:43 2014 +0000 +++ b/main.cpp Tue Dec 16 12:22:47 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,11 +134,11 @@ } //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) { printf("Time to register...\r\n");