add rfid resources

This commit is contained in:
Harald Pichler 2016-11-14 11:13:07 +01:00
parent ceb4fb3298
commit 9f40b0734c
5 changed files with 270 additions and 8 deletions

View file

@ -36,6 +36,9 @@
//#define PLATFORM_HAS_BUTTON 1
#define PLATFORM_HAS_BATTERY 1
#define LOOP_INTERVAL (30 * CLOCK_SECOND)
/* Save energy */
//#define RDC_CONF_PT_YIELD_OFF

View file

@ -34,12 +34,11 @@ void setup (void)
rest_activate_resource (&res_cputemp, "s/cputemp");
// NETSTACK_MAC.off(1);
// mcu_sleep_set(48);
mcu_sleep_set(128);
}
void loop (void)
{
mcu_sleep_off();
mcu_sleep_on();
}