63{
65
70
71 while(1)
72 {
84
91
110
111 for (y1 = 0x05; y1 < 0x08; y1++)
112 {
113 for (y2 = 0x00; y2 < 0x60; y2+=2)
114 {
124 }
126 }
129
130 y1 = 47, y2 = 0;
131 while (y1 < 0xF0)
132 {
135 y1 -= 2;
136 y2 += 2;
138 }
141
142 y1 = 83, y2 = 0;
143 while (y1 < 0xF0)
144 {
147 y1 -= 2;
148 y2 += 2;
150 }
152
158 }
159}
void SYS_Delay(uint16_t t)
__CODE char HEX_TABLE[16]
char PCD8544_Putc(char ch, FontDef_t *font, uint8_t color)
Put one character to internal RAM.
void PCD8544_GotoXY(uint8_t x, uint8_t y)
Sets cursor pointer to desired location for strings.
void PCD8544_UpdateScreen(void)
Update LCD display with changes.
void PCD8544_DrawLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint8_t color)
Draws line on LCD.
char PCD8544_Puts(char *str, FontDef_t *Font, uint8_t color)
Puts string to internal RAM.
void PCD8544_Init(void)
Initializes PCD8544 Display.
void PCD8544_SetDisplayAllOn(void)
Set PCD8544 To Turn On All Segments.
void PCD8544_SetDisplayInverted(void)
Set PCD8544 Display Mode to Inverted.
void PCD8544_SetBackLightState(HAL_State_t state)
Turn PCD8544 LCD backlight on or off.
void PCD8544_Fill(uint8_t color)
Fills entire LCD with specified color.
void PCD8544_SetContrast(uint8_t bias, uint8_t val)
Set the contrast level by adjusting Vlcd.
void PCD8544_SetPowerDownMode(HAL_State_t state)
Powerdown mode control.
__CODE FontDef_t Font_5x7
void PCD8544_SetDisplayBlank(void)
Set PCD8544 Display Mode to Blank.
void PCD8544_SetDisplayNormal(void)
Set PCD8544 Display Mode to Normal.
__CODE FontDef_t Font_3x5