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 Wim Huiskamp

/* 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 :

  1. define DFROBOT 0 chinese OK
  2. define YWROBOT 0 chinese 0K
  3. define SYDZ 1 chinese OK Font is the same as http://www.farnell.com/datasheets/2362518.pdf
  • /

Files at this revision

API Documentation at this revision

Comitter:
cdupaty
Date:
Sat Mar 24 15:35:41 2018 +0000
Parent:
37:ce348c002929
Commit message:
C.Dupaty 03-2018; LCD 2x16, I2C interface, tested on NUCLEO STM32-F411RE; Chinese model, adress I2C=0x4E on PCF8574; Search on AliExpress for IIC/I2C 1602 Module; ;

Changed in this revision

TextLCD_Config.h Show annotated file Show diff for this revision Revisions of this file
diff -r ce348c002929 -r 680cfba1dd9a TextLCD_Config.h
--- a/TextLCD_Config.h	Sun Mar 29 13:08:03 2015 +0000
+++ b/TextLCD_Config.h	Sat Mar 24 15:35:41 2018 +0000
@@ -50,12 +50,12 @@
 //LCD and serial portexpanders should be wired according to the tables below.
 //
 //Select Serial Port Expander Hardware module (one option only)
-#define DEFAULT        1
+#define DEFAULT        0
 #define ADAFRUIT       0
-#define DFROBOT        0
-#define YWROBOT        0
+#define DFROBOT        0    // chinese OK
+#define YWROBOT        0    // chinese 0K
 #define GYLCD          0
-#define SYDZ           0
+#define SYDZ           1    // chinese OK
 
 #if (DEFAULT==1)
 //Definitions for default (WH) mapping between serial port expander pins and LCD controller