AVR XMEGA RTC example.
Copyright (c) 2010-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
static void | alarm (uint32_t time) |
Alarm callback. More... | |
int | main (void) |
|
static |
Alarm callback.
This outputs the last two digits of current time in BCD on the board LEDS, and then reschedules the alarm in 1 second.
References LED_PORT, and rtc_set_alarm().
int main | ( | void | ) |