Last active
December 11, 2022 00:03
-
-
Save reefwing/52199261fc400db7035bd4ca61b6f90a to your computer and use it in GitHub Desktop.
Peripheral definition for the TWatch Variants
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Extract from LilyGoWatch.h... | |
| #elif defined(LILYGO_WATCH_2020_V1) | |
| #include "board/twatch2020_v1.h" | |
| // Has | |
| #define LILYGO_WATCH_HAS_TOUCH // ->getTouch() defined | |
| #define LILYGO_WATCH_HAS_DISPLAY // ->tft defined | |
| #define LILYGO_WATCH_HAS_BUZZER | |
| #define LILYGO_WATCH_HAS_MOTOR // ->motor_begin() & shake() | |
| #define LILYGO_WATCH_HAS_PCF8563 // ->rtc defined | |
| #define LILYGO_WATCH_HAS_BMA423 // ->bma defined | |
| #define LILYGO_WATCH_HAS_AXP202 // ->power defined | |
| #define LILYGO_WATCH_HAS_IRREMOTE // Use IRremote.h | |
| #define LILYGO_WATCH_HAS_BACKLIGHT // ->bl defined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment