Microchip® Advanced Software Framework

common/services/calendar/example1/example1.c File Reference

Example application 1 for calendar functionality.

Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.

#include <stdint.h>
#include <calendar.h>
#include <asf.h>
#include <led.h>

Functions

int main (void)
 Main entry of example application. More...
 

int main ( void  )

Main entry of example application.

References board_init(), calendar_date_to_timestamp(), calendar_date::second, and sysclk_init().