Skip to content

Commit

Permalink
Use 8s interval for readings
Browse files Browse the repository at this point in the history
  • Loading branch information
maniacbug committed Jul 10, 2013
1 parent 887dc6f commit 962e5fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/sensornet/sensornet.pde
Expand Up @@ -80,11 +80,11 @@ const int num_measurements = 64;
// every 4s, and every single wakeup we power up the radio and send
// a reading. In real use, these numbers which be much higher.
// Try wdt_8s and 7 cycles for one reading per minute.> 1
const wdt_prescalar_e wdt_prescalar = wdt_4s;
const wdt_prescalar_e wdt_prescalar = wdt_8s;
const int sleep_cycles_per_transmission = 1;

// Non-sleeping nodes need a timer to regulate their sending interval
Timer send_timer(2000);
Timer send_timer(8000);

// Button controls functionality of the unit
Button ButtonA(button_a);
Expand Down

0 comments on commit 962e5fa

Please sign in to comment.