mirror of
https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library.git
synced 2026-03-24 17:06:55 +01:00
Change the touch ink screen to GDEH0154D67
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user