Change the touch ink screen to GDEH0154D67

This commit is contained in:
lewis he
2020-08-15 11:03:24 +08:00
parent 596aaf06c3
commit 813ec2060d
2 changed files with 5 additions and 2 deletions

View File

@@ -22,7 +22,10 @@ git clone https://github.com/olikraus/U8g2_for_Adafruit_GFX.git
extern const unsigned char logoIcon[280];
#include <GxEPD.h>
#include <GxGDEP015OC1/GxGDEP015OC1.h> // 1.54" b/w
// #include <GxGDEP015OC1/GxGDEP015OC1.h> // 1.54" b/w
// TTGO uses GDEP015OC1 by default in the early stage, and later changed to GDEH0154D67
#include <GxGDEH0154D67/GxGDEH0154D67.h> // 1.54" b/w
#include <GxIO/GxIO_SPI/GxIO_SPI.h>
#include <GxIO/GxIO.h>

View File

@@ -689,7 +689,7 @@ private:
void initTFT()
{
#ifdef LILYGO_WATCH_HAS_DISPLAY
#if defined LILYGO_WATCH_HAS_DISPLAY && !defined(LILYGO_EINK_TOUCHSCREEN)
#ifdef LILYGO_WATCH_2020_V1
//In the 2020V1 version, the ST7789 chip power supply