/* global.c * enthält globale Einstellungen und Funktionen. */ #include #include #include "global.h" #include "gui/gui.h" #include "lcd/lcd.h" #include "eeprom/eeprom.h" #include #include // Den Maximalwert für den Timer, wann die Displayabdunklung starten soll. uint16_t timer_max; // Timer-Counter, der alle 25ms um eins steigt. long global_timer = 0; // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-= // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= timer -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-= void global_timer_init() { TIMSK1 = (1<