31#define PCD8544_MOSI P34
32#define PCD8544_SCK P32
33#define PCD8544_RES P37
38#define PCD8544_WIDTH 84
40#define PCD8544_HEIGHT 48
42#define PCD8544_PAGES 6
44#define PCD8544_FUNCTIONSET 0x20
45#define PCD8544_POWERDOWN 0x04
46#define PCD8544_ENTRYMODE 0x02
47#define PCD8544_EXT_INSTRUCTION 0x01
49#define PCD8544_DISPLAY_CONTROL 0x08
50#define PCD8544_DISPLAY_BLANK 0x00
51#define PCD8544_DISPLAY_NORMAL 0x04
52#define PCD8544_DISPLAY_ALLON 0x01
53#define PCD8544_DISPLAY_INVERTED 0x05
55#define PCD8544_SET_YADDR 0x40
56#define PCD8544_SET_XADDR 0x80
58#define PCD8544_SET_TEMP 0x04
59#define PCD8544_SET_BIAS 0x10
60#define PCD8544_SET_VOP 0x80
uint8_t val[MAX7219_BLOCKS]
char PCD8544_Putc(char ch, FontDef_t *font, uint8_t color)
Put one character to internal RAM.
void PCD8544_DrawPixel(uint8_t x, uint8_t y, uint8_t color)
Draws pixel at desired location.
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_SetTemperatureCoef(uint8_t val)
Set TCx (temperature coefficient)
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_Reset(void)
Hardware reset PCD8544 LCD.
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_WriteCommand(uint8_t command)
Write a single byte command to PCD8544.
void PCD8544_SetPowerDownMode(HAL_State_t state)
Powerdown mode control.
void PCD8544_SetBias(uint8_t val)
Set bias system level.
__CODE FontDef_t Font_5x7
void PCD8544_SetDisplayBlank(void)
Set PCD8544 Display Mode to Blank.
void PCD8544_WriteSameData(uint8_t dat, uint32_t size)
void PCD8544_SetDisplayNormal(void)
Set PCD8544 Display Mode to Normal.
void PCD8544_WriteData(uint8_t dat)
Writes single byte data to PCD8544.
__CODE FontDef_t Font_3x5