reduce power consumtion
This commit is contained in:
parent
b7b3f0a33a
commit
8891a0ec44
|
@ -43,8 +43,7 @@ void setup (void)
|
||||||
rest_activate_resource (&res_htu21dhum, "s/hum");
|
rest_activate_resource (&res_htu21dhum, "s/hum");
|
||||||
rest_activate_resource (&res_battery, "s/battery");
|
rest_activate_resource (&res_battery, "s/battery");
|
||||||
|
|
||||||
// mcu_sleep_set(64);
|
mcu_sleep_set(128); // Power consumtion 278uA; average over 20 minutes
|
||||||
mcu_sleep_set(48);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// at project-conf.h
|
// at project-conf.h
|
||||||
|
|
Loading…
Reference in a new issue