Add module fc113 (PCF8574t)

Dependents:   Cassaforte Cassaforte2 Cassaforte5dic18 Cassaforte5_copy ... more

Fork of TextLCD by Wim Huiskamp

Files at this revision

API Documentation at this revision

Comitter:
foreste
Date:
Sat Jan 07 12:47:48 2017 +0000
Parent:
41:111ca62e8a59
Commit message:
Add Fc113 module i2c controler i2lc for hd44780

Changed in this revision

TextLCD_Config.h Show annotated file Show diff for this revision Revisions of this file
diff -r 111ca62e8a59 -r fa02cddf2fd8 TextLCD_Config.h
--- a/TextLCD_Config.h	Fri Nov 06 18:59:27 2015 +0000
+++ b/TextLCD_Config.h	Sat Jan 07 12:47:48 2017 +0000
@@ -68,7 +68,7 @@
 //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 LCM1602        0
@@ -78,7 +78,7 @@
 #define SYDZ           0
 #define WIDEHK         0
 #define LCDPLUG        0
-
+#define fc113          1
 #if (DEFAULT==1)
 //Definitions for default (WH) mapping between serial port expander pins and LCD controller
 //This hardware supports the I2C bus expander (PCF8574/PCF8574A or MCP23008) and SPI bus expander (74595) interfaces
@@ -214,7 +214,8 @@
 #define BACKLIGHT_INV  0
 #endif
 
-#if ((YWROBOT==1) || (LCM1602==1))
+#if ((YWROBOT==1) || (LCM1602==1)) || (fc113==1)
+//Definitions for FC113 based Pcf8574T Module mapping between serial port expander pins and LCD controller. 
 //Definitions for YWROBOT LCM1602 V1 Module mapping between serial port expander pins and LCD controller. 
 //Very similar to DFROBOT. Also marked as 'Funduino'. This hardware uses PCF8574.
 //Slaveaddress may be set by solderbridges (default 0x4E). SDA/SCL has no pullup Resistors onboard.
@@ -253,7 +254,7 @@
 #define MCP23008       0
 
 //Inverted Backlight control
-#define BACKLIGHT_INV  0
+#define BACKLIGHT_INV  1
 #endif
 
 #if ((GYLCD==1) || (MJKDZ==1))