aboutsummaryrefslogtreecommitdiffstats
path: root/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'main.h')
-rwxr-xr-xmain.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/main.h b/main.h
index f7c707d..ed84202 100755
--- a/main.h
+++ b/main.h
@@ -3,8 +3,13 @@
unsigned int ldr = 0;
#endif
+// Initialize variables for VFD brightness level
#define brtlvl ldr/256
-int brtlvl_chg = 0;
+unsigned int brtlvl_chg = 0;
+
+// Initialize for timerr interrupt value
+unsigned int counter = 0;
+unsigned int interrupts = 0;
// Initialize variables for date time and alarms
unsigned int sec = 0;
@@ -49,6 +54,9 @@ unsigned char alarm2_min_0, alarm2_min_1, alarm2_hour_0, alarm2_hour_1;
char buf[40];
#endif
+void display_Intro(void);
+void display_Lcd_Layout(void);
+
// Format unsigned int to unsigned chars
void format_DateTimeChars(void);
@@ -61,7 +69,6 @@ void getWeekDay(unsigned int);
// Determine Alarm status from control registers
void Get_Alarm_Status(void);
-void display_Intro(void);
-void display_Lcd_Layout(void);
+void update_Display(void);
-void update_Display(void); \ No newline at end of file
+void New_Second(void); \ No newline at end of file