From a4d9f6e6c5f9ed5f485c5c87ffc027fc22949df2 Mon Sep 17 00:00:00 2001 From: phdlee Date: Sat, 6 Apr 2019 16:35:46 +0900 Subject: [PATCH] changed version number for nextion lcd protocol --- ubitx_20/ubitx.h | 6 +++--- ubitx_20/ubitx_lcd_nextion.ino | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ubitx_20/ubitx.h b/ubitx_20/ubitx.h index 958e4c4..7c17b11 100644 --- a/ubitx_20/ubitx.h +++ b/ubitx_20/ubitx.h @@ -23,16 +23,16 @@ // Compile Option //============================================================================== //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. //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_DUAL //I2C type 16 x02 LCD Dual //#define UBITX_DISPLAY_LCD2004P //24 x 04 LCD (Parallel) //#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 I2C_LCD_MASTER_ADDRESS_DEFAULT 0x27 //0x27 //DEFAULT, if Set I2C Address by uBITX Manager, read from EEProm diff --git a/ubitx_20/ubitx_lcd_nextion.ino b/ubitx_20/ubitx_lcd_nextion.ino index 4c0a91a..62667af 100644 --- a/ubitx_20/ubitx_lcd_nextion.ino +++ b/ubitx_20/ubitx_lcd_nextion.ino @@ -1041,7 +1041,7 @@ void SendUbitxData(void) EEPROM.get(EXTERNAL_DEVICE_OPT1, 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); /*