SapFlow Probe
A low-cost HRM probe for measuring a tree's water consumption
|
static RTC_DS3231 rtc_ds
Instance of our real-time clock.
static struct pt sched_thd
Protothread control structure for measure()
void alarmISR(void)
Interrupt handler for RTC alarm.
int schedule(struct pt *pt=&sched_thd)
Controls general measurement schedule.
void sleep_cycle(int interval=5)
Sleep function for periodic sleeping.
static bool sleep
Global flag to prep for sleep.
void feather_sleep(void)
Maximizes power savings during sleep.