60 HD44780PCF8574LCD(uint8_t NumRow, uint8_t NumCol,
int I2Cdevice,
int I2Caddress,
int I2Cflags);
81 virtual size_t write(uint8_t);
class to drive the HD44780 LCD with PCF8574 I2C interface
Definition HD44780_LCD_RDL.hpp:19
rdlib::Return_Codes_e LCD_I2C_OFF(void)
End I2C operations.
Definition HD44780_LCD_RDL.cpp:412
void LCDInit(LCDCursorType_e)
Initialise LCD.
Definition HD44780_LCD_RDL.cpp:198
void LCDSendData(unsigned char data)
Send data byte to LCD via I2C.
Definition HD44780_LCD_RDL.cpp:34
void LCDResetScreen(LCDCursorType_e)
Reset screen.
Definition HD44780_LCD_RDL.cpp:175
uint8_t _NumColsLCD
Definition HD44780_LCD_RDL.hpp:129
int _LCDI2CFlags
Definition HD44780_LCD_RDL.hpp:122
void LCDSendCmd(unsigned char cmd)
Send command byte to lcd.
Definition HD44780_LCD_RDL.cpp:74
int _LCDI2CAddress
Definition HD44780_LCD_RDL.hpp:120
LCDAddress_e
Definition HD44780_LCD_RDL.hpp:100
@ LCDLineAddress4Col20
Definition HD44780_LCD_RDL.hpp:104
@ LCDLineAddressTwo
Definition HD44780_LCD_RDL.hpp:102
@ LCDLineAddress4Col16
Definition HD44780_LCD_RDL.hpp:106
@ LCDLineAddress3Col16
Definition HD44780_LCD_RDL.hpp:105
@ LCDLineAddress3Col20
Definition HD44780_LCD_RDL.hpp:103
@ LCDLineAddressOne
Definition HD44780_LCD_RDL.hpp:101
int LCDCheckConnection(void)
checks if LCD on I2C bus
Definition HD44780_LCD_RDL.cpp:523
int _LCDI2CHandle
Definition HD44780_LCD_RDL.hpp:123
void LCDI2CErrorRetryNumSet(uint8_t)
Sets the I2C error retry attempts used in the event of an I2C write error.
Definition HD44780_LCD_RDL.cpp:511
virtual size_t write(uint8_t)
Called by print class, used to print out numerical data types etc.
Definition HD44780_LCD_RDL.cpp:441
void LCDI2CErrorTimeoutSet(uint16_t)
Sets the I2C timeout, in the event of an I2C write error.
Definition HD44780_LCD_RDL.cpp:487
uint8_t _I2C_ErrorRetryNum
Definition HD44780_LCD_RDL.hpp:125
int LCDI2CErrorGet(void)
get I2C error Flag
Definition HD44780_LCD_RDL.cpp:480
void LCDDisplayON(bool)
Turn Screen on and off.
Definition HD44780_LCD_RDL.cpp:188
void LCDMoveCursor(LCDDirectionType_e, uint8_t moveSize)
Moves cursor.
Definition HD44780_LCD_RDL.cpp:257
uint8_t LCDI2CErrorRetryNumGet(void)
Gets the I2C error retry attempts, used in the event of an I2C write error.
Definition HD44780_LCD_RDL.cpp:504
rdlib::Return_Codes_e LCD_I2C_ON(void)
Switch on the I2C.
Definition HD44780_LCD_RDL.cpp:388
int _I2C_ErrorFlag
Definition HD44780_LCD_RDL.hpp:126
LCDBackLight_e
Definition HD44780_LCD_RDL.hpp:24
@ LCDBackLightOnMask
Definition HD44780_LCD_RDL.hpp:25
@ LCDBackLightOffMask
Definition HD44780_LCD_RDL.hpp:26
rdlib::Return_Codes_e LCDClearScreen(void)
Clear screen by writing spaces to every position.
Definition HD44780_LCD_RDL.cpp:148
uint16_t _I2C_ErrorDelay
Definition HD44780_LCD_RDL.hpp:124
void LCDBackLightSet(bool)
Turn LED backlight on and off.
Definition HD44780_LCD_RDL.cpp:362
void LCDClearScreenCmd(void)
Clear display using software command , set cursor position to zero.
Definition HD44780_LCD_RDL.cpp:451
LCDCmdBytesGeneral_e
Definition HD44780_LCD_RDL.hpp:110
@ LCDCmdDisplayOff
Definition HD44780_LCD_RDL.hpp:114
@ LCDCmdHomePosition
Definition HD44780_LCD_RDL.hpp:112
@ LCDCmdModeFourBit
Definition HD44780_LCD_RDL.hpp:111
@ LCDCmdClearScreen
Definition HD44780_LCD_RDL.hpp:115
@ LCDCmdDisplayOn
Definition HD44780_LCD_RDL.hpp:113
bool LCDBackLightGet(void)
get the backlight flag status
Definition HD44780_LCD_RDL.cpp:372
LCDDirectionType_e
Definition HD44780_LCD_RDL.hpp:46
@ LCDMoveRight
Definition HD44780_LCD_RDL.hpp:47
@ LCDMoveLeft
Definition HD44780_LCD_RDL.hpp:48
void LCDClearLine(LCDLineNumber_e lineNo)
Clear a line by writing spaces to every position.
Definition HD44780_LCD_RDL.cpp:114
LCDLineNumber_e
Definition HD44780_LCD_RDL.hpp:52
@ LCDLineNumberThree
Definition HD44780_LCD_RDL.hpp:55
@ LCDLineNumberFour
Definition HD44780_LCD_RDL.hpp:56
@ LCDLineNumberTwo
Definition HD44780_LCD_RDL.hpp:54
@ LCDLineNumberOne
Definition HD44780_LCD_RDL.hpp:53
void LCDHome(void)
Set cursor position to home position .
Definition HD44780_LCD_RDL.cpp:459
uint8_t _NumRowsLCD
Definition HD44780_LCD_RDL.hpp:128
int _LCDI2CDevice
Definition HD44780_LCD_RDL.hpp:121
uint16_t LCDI2CErrorTimeoutGet(void)
Gets the I2C timeout, used in the event of an I2C write error.
Definition HD44780_LCD_RDL.cpp:497
LCDEntryMode_e
Definition HD44780_LCD_RDL.hpp:30
@ LCDEntryModeOne
Definition HD44780_LCD_RDL.hpp:31
@ LCDEntryModeFour
Definition HD44780_LCD_RDL.hpp:34
@ LCDEntryModeThree
Definition HD44780_LCD_RDL.hpp:33
@ LCDEntryModeTwo
Definition HD44780_LCD_RDL.hpp:32
rdlib::Return_Codes_e LCDCreateCustomChar(uint8_t location, uint8_t *charmap)
Saves a custom character to a location in character generator RAM 64 bytes.
Definition HD44780_LCD_RDL.cpp:338
void LCDGOTO(LCDLineNumber_e lineNo, uint8_t col)
moves cursor to an x , y position on display.
Definition HD44780_LCD_RDL.cpp:307
void LCDChangeEntryMode(LCDEntryMode_e mode)
Change entry mode.
Definition HD44780_LCD_RDL.cpp:468
enum LCDBackLight_e _LCDBackLight
Definition HD44780_LCD_RDL.hpp:118
rdlib::Return_Codes_e LCDSendString(char *str)
Send a string to LCD.
Definition HD44780_LCD_RDL.cpp:223
LCDCursorType_e
Definition HD44780_LCD_RDL.hpp:38
@ LCDCursorTypeBlink
Definition HD44780_LCD_RDL.hpp:40
@ LCDCursorTypeOnBlink
Definition HD44780_LCD_RDL.hpp:42
@ LCDCursorTypeOn
Definition HD44780_LCD_RDL.hpp:41
@ LCDCursorTypeOff
Definition HD44780_LCD_RDL.hpp:39
void LCDScroll(LCDDirectionType_e, uint8_t ScrollSize)
Scrolls screen.
Definition HD44780_LCD_RDL.cpp:281
void LCDSendChar(char data)
Sends a character to screen , simply wraps SendData command.
Definition HD44780_LCD_RDL.cpp:247
void LCDPrintCustomChar(uint8_t location)
Print out a customer character from character generator CGRAM 64 bytes 8 characters.
Definition HD44780_LCD_RDL.cpp:429
Polymorphic print class to print many data types by wrapping write function in the graphics class's.
Definition print_data_RDL.hpp:29
file to hold common data and functions used by many Displays Project Name: Display_Lib_RPI
Return_Codes_e
Definition common_data_RDL.hpp:22
Base class that provides print() and println() for for the display library Project Name :: Display_Li...