Merge pull request #46 from phdlee/version1.20
changed version number for nextion lcd protocol
This commit is contained in:
commit
262ef3947a
@ -23,16 +23,16 @@
|
|||||||
// Compile Option
|
// Compile Option
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
//Ubitx Board Version
|
//Ubitx Board Version
|
||||||
#define UBITX_BOARD_VERSION 5 //v1 ~ v4 : 4, v5: 5
|
#define UBITX_BOARD_VERSION 2 //v1 ~ v4 : 4, v5: 5
|
||||||
|
|
||||||
//Depending on the type of LCD mounted on the uBITX, uncomment one of the options below.
|
//Depending on the type of LCD mounted on the uBITX, uncomment one of the options below.
|
||||||
//You must select only one.
|
//You must select only one.
|
||||||
#define UBITX_DISPLAY_LCD1602P //LCD mounted on unmodified uBITX (Parallel)
|
//#define UBITX_DISPLAY_LCD1602P //LCD mounted on unmodified uBITX (Parallel)
|
||||||
//#define UBITX_DISPLAY_LCD1602I //I2C type 16 x 02 LCD
|
//#define UBITX_DISPLAY_LCD1602I //I2C type 16 x 02 LCD
|
||||||
//#define UBITX_DISPLAY_LCD1602I_DUAL //I2C type 16 x02 LCD Dual
|
//#define UBITX_DISPLAY_LCD1602I_DUAL //I2C type 16 x02 LCD Dual
|
||||||
//#define UBITX_DISPLAY_LCD2004P //24 x 04 LCD (Parallel)
|
//#define UBITX_DISPLAY_LCD2004P //24 x 04 LCD (Parallel)
|
||||||
//#define UBITX_DISPLAY_LCD2004I //I2C type 24 x 04 LCD
|
//#define UBITX_DISPLAY_LCD2004I //I2C type 24 x 04 LCD
|
||||||
//#define UBITX_DISPLAY_NEXTION //NEXTION LCD
|
#define UBITX_DISPLAY_NEXTION //NEXTION LCD
|
||||||
|
|
||||||
//#define UBITX_DISPLAY_NEXTION_SAFE //Only EEProm Write 770~775
|
//#define UBITX_DISPLAY_NEXTION_SAFE //Only EEProm Write 770~775
|
||||||
#define I2C_LCD_MASTER_ADDRESS_DEFAULT 0x27 //0x27 //DEFAULT, if Set I2C Address by uBITX Manager, read from EEProm
|
#define I2C_LCD_MASTER_ADDRESS_DEFAULT 0x27 //0x27 //DEFAULT, if Set I2C Address by uBITX Manager, read from EEProm
|
||||||
|
@ -1041,7 +1041,7 @@ void SendUbitxData(void)
|
|||||||
EEPROM.get(EXTERNAL_DEVICE_OPT1, nextionDisplayOption);
|
EEPROM.get(EXTERNAL_DEVICE_OPT1, nextionDisplayOption);
|
||||||
SendCommandUL(CMD_DISP_OPTION2, nextionDisplayOption);
|
SendCommandUL(CMD_DISP_OPTION2, nextionDisplayOption);
|
||||||
|
|
||||||
SendCommandStr(CMD_VERSION, (char *)("+v1.122")); //Version
|
SendCommandStr(CMD_VERSION, (char *)("+v1.200")); //Version
|
||||||
SendEEPromData(CMD_CALLSIGN, 0, userCallsignLength -1, 0);
|
SendEEPromData(CMD_CALLSIGN, 0, userCallsignLength -1, 0);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user