Change to "#define DEFAULT 1" → "#define DEFAULT 0" and "#define LCM1602 0" → "#define LCM1602 1" in the TextLCD_Config.h
Dependents: Test_TextLCD_F303K
Revision 42:e4ea7c53a785, committed 2020-03-12
- Comitter:
- st17099ng
- Date:
- Thu Mar 12 16:25:59 2020 +0000
- Parent:
- 41:111ca62e8a59
- Commit message:
- Change to "#define DEFAULT 1" -> "#define DEFAULT 0" and "#define LCM1602 0" -> "#define LCM1602 1" in the TextLCD_Config.h
Changed in this revision
TextLCD_Config.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 111ca62e8a59 -r e4ea7c53a785 TextLCD_Config.h --- a/TextLCD_Config.h Fri Nov 06 18:59:27 2015 +0000 +++ b/TextLCD_Config.h Thu Mar 12 16:25:59 2020 +0000 @@ -4,10 +4,10 @@ * 2014, v02: WH, Added AC780 support, added I2C expander modules, fixed setBacklight() for inverted logic modules. Fixed bug in LCD_SPI_N define * 2014, v03: WH, Added LCD_SPI_N_3_8 define for ST7070 * 2015, v04: WH, Added support for alternative fonttables (eg PCF21XX) - * 2015, v05: WH, Clean up low-level _writeCommand() and _writeData(), Added support for alt fonttables (eg PCF21XX), Added ST7066_ACM for ACM1602 module, fixed contrast for ST7032 + * 2015, v05: WH, Clean up low-level _writeCommand() and _writeData(), Added support for alt fonttables (eg PCF21XX), Added ST7066_ACM for ACM1602 module, fixed contrast for ST7032 * 2015, v06: WH, Performance improvement I2C portexpander * 2015, v07: WH, Fixed Adafruit I2C/SPI portexpander pinmappings, fixed SYDZ Backlight - * 2015, v08: WH, Added defines to reduce memory footprint (eg LCD_ICON), added some I2C portexpander defines + * 2015, v08: WH, Added defines to reduce memory footprint (eg LCD_ICON), added some I2C portexpander defines * 2015, v09: WH, Added defines to reduce memory footprint (LCD_TWO_CTRL, LCD_CONTRAST, LCD_UTF8_FONT), * Added UTF8_2_LCD decode for Cyrilic font (By Andriy Ribalko). Added setFont() * @@ -68,10 +68,10 @@ //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 +#define LCM1602 1 #define YWROBOT 0 #define GYLCD 0 #define MJKDZ 0 @@ -100,7 +100,7 @@ #define LCD_BUS_I2C_RW (1 << 6) -//SPI bus expander (74595) interface, same as I2C +//SPI bus expander (74595) interface, same as I2C #define LCD_BUS_SPI_D4 LCD_BUS_I2C_D4 #define LCD_BUS_SPI_D5 LCD_BUS_I2C_D5 #define LCD_BUS_SPI_D6 LCD_BUS_I2C_D6 @@ -171,7 +171,7 @@ //Slaveaddress hardwired to 0x4E. SDA/SCL has pullup Resistors onboard. //See http://arduino-info.wikispaces.com/LCD-Blue-I2C // -//Definitions for DFROBOT V1.1 +//Definitions for DFROBOT V1.1 //This hardware uses PCF8574. Slaveaddress may be set by jumpers (default 0x40). //SDA/SCL has pullup Resistors onboard and features a voltage level converter 3V3 <-> 5V. //See http://www.dfrobot.com/index.php?route=product/product&product_id=135 @@ -215,7 +215,7 @@ #endif #if ((YWROBOT==1) || (LCM1602==1)) -//Definitions for YWROBOT LCM1602 V1 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. //See http://arduino-info.wikispaces.com/LCD-Blue-I2C @@ -257,7 +257,7 @@ #endif #if ((GYLCD==1) || (MJKDZ==1)) -//Definitions for Arduino-IIC-LCD GY-LCD-V1, for GY-IICLCD and for MJKDZ Module mapping between serial port expander pins and LCD controller. +//Definitions for Arduino-IIC-LCD GY-LCD-V1, for GY-IICLCD and for MJKDZ Module mapping between serial port expander pins and LCD controller. //Very similar to DFROBOT. This hardware uses PCF8574. //Slaveaddress may be set by solderbridges (default 0x4E). SDA/SCL has pullup Resistors onboard. //See http://arduino-info.wikispaces.com/LCD-Blue-I2C @@ -299,7 +299,7 @@ #endif #if (SYDZ==1) -//Definitions for SYDZ Module mapping between serial port expander pins and LCD controller. +//Definitions for SYDZ Module mapping between serial port expander pins and LCD controller. //Very similar to DFROBOT. This hardware uses PCF8574A. //Slaveaddress may be set by switches (default 0x70). SDA/SCL has pullup Resistors onboard. //See ebay @@ -545,7 +545,7 @@ // 5: 4.000V // 6: 4.444V // 7: 5.000V -#define LCD_ST7032_CONTRAST 0x28 +#define LCD_ST7032_CONTRAST 0x28 #define LCD_ST7032_RAB 0x04 //ST7036 EA DOGM1603 display @@ -581,7 +581,7 @@ // 0: 1.818V // 1: 2.222V // 2: 2.667V -// 3: 3.333V (SPLC792A default) +// 3: 3.333V (SPLC792A default) // 4: 3.636V // 5: 4.000V // 6: 4.444V