48 #include <avr/pgmspace.h> 240 lcd_word( (uint16_t)(uchour + 100), 2);
242 lcd_word( (uint16_t)(ucminute + 100), 2);
253 uctmp1 = ucfactor / 10;
256 ucfactor = ucfactor - uctmp1*10;
void UserInterfaceLcdProg(menuProg_t ucbut)
Display "Progr" Menu.
A struct with hour and minute.
uint8_t ClockReadTimeFactor(void)
Get time factor.
Subroutines for UserInterfaceCommonData.
#define SYSTEM_STATUS_ENDTIME
end time active? default 0
#define SYSTEM_STATUS_GOT_DIRTY
got dirty bit fromm eeprom -> no shutdown happend
uint8_t minute
minute value 0..59
void UserInterfaceLcdNormal(menuNormal_t ucbut)
Normal Menu.
void UserInterfaceLcdWriteTime(uint8_t uchour, uint8_t ucminute)
Write clock value to lcd.
void lcd_goto(uint8_t x, uint8_t y)
Go to the specified position.
void UserInterfaceLcdWelcome(void)
Welcome.
void UserInterfaceLcdStartup(menuStartup_t ucbut, uint8_t ucstatus)
Startup.
void UserInterfaceLcdEndOfSoap(void)
End of soap.
void lcd_puts_P(const char *s)
Write a string from progmem of chars to the LCD.
Subroutines for UserInterfaceLcd.
void lcd_word(uint16_t value, uint8_t width)
Write numeric value to the LCD.
#define SYSTEM_STATUS_EEPROM_ERASED
eeprom erased; set default parameter.
uint8_t hour
hour value 0..23
LCD interface header file.
#define SYSTEM_STATUS_DIRTY
dirty bit, set by init, cleared by shutdown
System wide Definitions for FREMO Clock.
void UserInterfaceLcdInit(void)
Init.
uint8_t ClockReadStartTimeHour(void)
Get the hour of the start time.
void lcd_init(lcdDisplayMode_t dispAttr)
Initialize the LCD - call before anything else.
uint8_t ClockReadStartTimeMinute(void)
Get the minute of the start time.
User function called by timer ISR.
void UserInterfaceLcdWriteTimeFactor(uint8_t ucfactor)
Write time factor to lcd.
void UserInterfaceLcdShutdown(menuShutdown_t ucbut)
Shutdown.
fclock_t ClockGetTime(void)
Get actual time.
#define VERSION
Version String of software package.