Skip to content

Instantly share code, notes, and snippets.

@reefwing
Created December 9, 2022 08:00
Show Gist options
  • Select an option

  • Save reefwing/020ddf59a6ae4f8972a1a0c86926fd48 to your computer and use it in GitHub Desktop.

Select an option

Save reefwing/020ddf59a6ae4f8972a1a0c86926fd48 to your computer and use it in GitHub Desktop.
Standard config.h file used for the T-WATCH-2020
// => Hardware select
// #define LILYGO_WATCH_2019_WITH_TOUCH // To use T-Watch2019 with touchscreen, please uncomment this line
// #define LILYGO_WATCH_2019_NO_TOUCH // To use T-Watch2019 Not touchscreen , please uncomment this line
#define LILYGO_WATCH_2020_V1 // To use T-Watch2020 V1, please uncomment this line
// #define LILYGO_WATCH_2020_V2 // To use T-Watch2020 V2, please uncomment this line
// #define LILYGO_WATCH_2020_V3 // To use T-Watch2020 V3, please uncomment this line
// #define LILYGO_LILYPI_V1 //LILYPI / TBLOCK requires an external display module
// #define LILYGO_WATCH_BLOCK //LILYPI / TBLOCK requires an external display module
#if defined(LILYGO_LILYPI_V1) || defined(LILYGO_WATCH_BLOCK)
// #define LILYGO_BLOCK_ST7796S_MODULE //Use ST7796S
// #define LILYGO_BLOCK_ILI9481_MODULE //Use ILI9841
// #define LILYGO_GC9A01A_MODULE //Use GC9A01A
#endif
#include <LilyGoWatch.h>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment