Started following some tutorial on att85 usi. Downloaded example code from make avr book.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
|
||||
|
||||
#include "servoSundial.h"
|
||||
// Note: Global variables (ticks, seconds, minutes, hours)
|
||||
// are declared in servoSundial.h
|
||||
// and defined in servoSundial.c
|
||||
|
||||
// Realtime-clock handling functions
|
||||
|
||||
// This sets up the interrupt clock
|
||||
void initTimer0_Clock(void);
|
||||
|
||||
// These functions are called periodically
|
||||
// to update the global time variables
|
||||
// They cascade when needed (second -> minute)
|
||||
void everySecond(void);
|
||||
void everyMinute(void);
|
||||
void everyHour(void);
|
||||
Reference in New Issue
Block a user