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:
- 35:b0c1b676403a
- Parent:
- 32:c957a1948ac1
- Child:
- 38:9066ab490386
--- 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");
