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:
- 5:a53b3e2d6f1e
- Parent:
- 3:2a46d5820a78
- Child:
- 6:e4cb7ddee0d3
--- a/TextLCD.h Thu May 27 18:03:45 2010 +0000 +++ b/TextLCD.h Sat May 29 10:15:04 2010 +0000 @@ -25,16 +25,16 @@ #include "mbed.h" -/** A TextLCD interface for 4-bit HD44780-based LCDs +/** A TextLCD interface for driving 4-bit HD44780-based LCDs * - * Supports a number of different panel configurations + * Currently supports 16x2, 20x2 and 20x4 panels * * @code * #include "mbed.h" * #include "TextLCD.h" - * - * TextLCD lcd(p5, p6, p7, p8, p9); - * + * + * TextLCD lcd(p10, p12, p15, p16, p29, p30); // rs, e, d0-d3 + * * int main() { * lcd.printf("Hello World!\n"); * }