mirror of
https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library.git
synced 2026-03-21 23:47:00 +01:00
Added DEPG0150BN backlight option
This commit is contained in:
@@ -166,6 +166,10 @@ void setup()
|
||||
pwIRQ = true;
|
||||
}, FALLING);
|
||||
|
||||
#ifdef LILYGO_WATCH_HAS_BACKLIGHT
|
||||
twatch->openBL();
|
||||
#endif
|
||||
|
||||
btn->setPressedHandler([]() {
|
||||
|
||||
delay(2000);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// => Hardware select
|
||||
#define LILYGO_WATCH_BLOCK // To use T-Watch Block , please uncomment this line
|
||||
// #define LILYGO_WATCH_BLOCK_V1 // To use T-Watch Block V1 , please uncomment this line
|
||||
// #define LILYGO_WATCH_BLOCK // To use T-Watch Block , please uncomment this line
|
||||
#define LILYGO_WATCH_BLOCK_V1 // To use T-Watch Block V1 , please uncomment this line
|
||||
|
||||
//NOT SUPPORT ...
|
||||
// #define LILYGO_WATCH_2020_V1
|
||||
@@ -9,9 +9,13 @@
|
||||
//NOT SUPPORT ...
|
||||
|
||||
// => Function select
|
||||
#define LILYGO_EINK_DEPG0150BN //Separate ink screen, no backlight, no touch -- Version on sale
|
||||
// #define LILYGO_EINK_GDEP015OC1 //Single electronic paper, no backlight, no touch -- Stop producing
|
||||
|
||||
|
||||
#define LILYGO_EINK_DEPG0150BN //Separate ink screen, and ink screen with backlight, no touch -- sales version
|
||||
// #define LILYGO_WATCH_HAS_BACKLIGHT //If there is backlight, please enable this macro definition
|
||||
|
||||
|
||||
#include <LilyGoWatch.h>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user