diff --git a/examples/osd/arduino-htu21/project-conf.h b/examples/osd/arduino-htu21/project-conf.h index e25aed53c..b52067590 100644 --- a/examples/osd/arduino-htu21/project-conf.h +++ b/examples/osd/arduino-htu21/project-conf.h @@ -38,7 +38,7 @@ #define SICSLOWPAN_CONF_FRAG 1 -#define LOOP_INTERVAL (10 * CLOCK_SECOND) +#define LOOP_INTERVAL (30 * CLOCK_SECOND) /* Save energy */ //#define RDC_CONF_PT_YIELD_OFF diff --git a/examples/osd/arduino-htu21/sketch.pde b/examples/osd/arduino-htu21/sketch.pde index 4ea3500ea..54ebfcaf6 100644 --- a/examples/osd/arduino-htu21/sketch.pde +++ b/examples/osd/arduino-htu21/sketch.pde @@ -42,10 +42,12 @@ void setup (void) rest_activate_resource (&res_htu21dtemp, "s/temp"); rest_activate_resource (&res_htu21dhum, "s/hum"); rest_activate_resource (&res_battery, "s/battery"); + + // mcu_sleep_set(64); } // at project-conf.h -// LOOP_INTERVAL (10 * CLOCK_SECOND) +// LOOP_INTERVAL (30 * CLOCK_SECOND) void loop (void) { mcu_sleep_off();