Skip to content
Snippets Groups Projects
Commit c209db8d authored by Erik Strand's avatar Erik Strand
Browse files

Take a sample only every 10 seconds

parent f10862a3
No related branches found
No related tags found
No related merge requests found
...@@ -185,8 +185,10 @@ void loop(void) { ...@@ -185,8 +185,10 @@ void loop(void) {
for (unsigned i = 0; i < n_nodes; ++i) { for (unsigned i = 0; i < n_nodes; ++i) {
measurements[i] = 0; measurements[i] = 0;
} }
// Wait five seconds
delay(200); delay(200);
PORTB &= ~led_pin; PORTB &= ~led_pin;
delay(4800);
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment