C.Dupaty 03-2018 test on NUCLEO STM32-F411RE LCD 2x16, I2C interface Chinese model, adress I2C=0x4E (search on AliExpress for IIC/I2C 1602 Module) Important ! configure in TextLCD_Config.h : Valid only one of the lines : #define DFROBOT 0 // chinese OK #define YWROBOT 0 // chinese 0K #define SYDZ 1 // chinese OK Font is the same as http://www.farnell.com/datasheets/2362518.pdf
Fork of TextLCD by
/* Hello World! for the TextLCD Enhanced Library C.Dupaty 03-2018 test on NUCLEO STM32-F411RE LCD 2x16, I2C interface Chinese model, adress I2C=0x4E (search on AliExpress for IIC/I2C 1602 Module) Important ! configure in TextLCD_Config.h : Valid only one of the lines :
- define DFROBOT 0 chinese OK
- define YWROBOT 0 chinese 0K
- define SYDZ 1 chinese OK Font is the same as http://www.farnell.com/datasheets/2362518.pdf
- /
Diff: TextLCD.h
- Revision:
- 23:d47f226efb24
- Parent:
- 22:35742ec80c24
- Child:
- 24:fb3399713710
diff -r 35742ec80c24 -r d47f226efb24 TextLCD.h --- a/TextLCD.h Wed Apr 02 17:49:55 2014 +0000 +++ b/TextLCD.h Wed Apr 02 18:16:37 2014 +0000 @@ -365,11 +365,11 @@ LCDCursor _currentCursor; }; -///--------- End TextLCD_Base ----------- +//--------- End TextLCD_Base ----------- -///--------- Start TextLCD Bus ----------- +//--------- Start TextLCD Bus ----------- /** Create a TextLCD interface for using regular mbed pins * @@ -415,10 +415,10 @@ }; -///----------- End TextLCD --------------- +//----------- End TextLCD --------------- -///--------- Start TextLCD_I2C ----------- +//--------- Start TextLCD_I2C ----------- /** Create a TextLCD interface using an I2C PC8574 or PCF8574A portexpander @@ -452,11 +452,11 @@ }; -///---------- End TextLCD_I2C ------------ +//---------- End TextLCD_I2C ------------ -///--------- Start TextLCD_SPI ----------- +//--------- Start TextLCD_SPI ----------- /** Create a TextLCD interface using an SPI 74595 portexpander @@ -494,6 +494,6 @@ }; -///---------- End TextLCD_SPI ------------ +//---------- End TextLCD_SPI ------------ #endif