Skip to content

Tolmeros/TTGO_TWatch_Library

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟LilyGO T-Watch🌟

English | 中文

The code bin will demonstrate the basic functionality of T-Watch, including all on-board chips from T-Watch, using the lvgl 6.1.2 as the display graphics framework.

⭐ News

  1. Currently there are multiple versions of T-Watch, if you use T-Watch-2020 version T-Watch, please define the LILYGO_TWATCH_2020_V1 macro above the sketch #include <TTGO.h> to preset the program Run in T-Watch-2020 version hardware.
  2. Some sample programs cannot be run on special versions of hardware, such as the UserButton sample program, which cannot be run in the T-Watch-2020 version, because this version of the hardware does not have physical buttons

🚀 Characteristics

  1. The library already contains all the hardware drivers for T-Watch
  2. Using TFT_eSPI as the display driver, you can directly call TFT_eSPI through the construction object.
  3. Using lvgl 6.1.2 as the display graphics framework, the driver method has been implemented, you only need to call lvgl api according to your own needs.
  4. For the use of lvgl please refer to lvgl docs

🔷 Install

  • Download a zipfile from github using the "Download ZIP" button and install it using the IDE ("Sketch" -> "Include Library" -> "Add .ZIP Library..."
  • Clone this git repository into your sketchbook/libraries folder. For more info, see https://www.arduino.cc/en/Guide/Libraries

🔶 How to find the sample program

  • In the Arduino board select TTGO T-Watch
  • In the Arduino File -> Examples -> TTGO T-Watch

🔷 Note

🔶 Precautions

  • Since Twatch uses a special IO as the SD interface, please remove the SD card when downloading the program.

🔷 Other

🔶 More interesting projects

Packages

No packages published

Languages

  • C 98.2%
  • C++ 1.6%
  • Processing 0.1%
  • Objective-C 0.1%
  • Python 0.0%
  • Makefile 0.0%