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: 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
Diff: main.cpp
- Revision:
- 34:5678fdb45d84
- Parent:
- 32:c957a1948ac1
diff -r c957a1948ac1 -r 5678fdb45d84 main.cpp
--- 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) {
