# TTGO_TWatch_Library **Repository Path**: fxdmt/TTGO_TWatch_Library ## Basic Information - **Project Name**: TTGO_TWatch_Library - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

๐ŸŒŸLilyGO T-Watch๐ŸŒŸ

**English | [ไธญๆ–‡](docs/details_cn.md)** 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 ` 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](https://docs.littlevgl.com/en/html/index.html)**

๐Ÿ”ท 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

- If you don't have the `TTGO T-Watch` option in your board manager, please update the esp32 board as follows: - Using Arduino IDE Boards Manager (preferred) + [Instructions for Boards Manager](docs/arduino-ide/boards_manager.md) - Using Arduino IDE with the development repository + [Instructions for Windows](docs/arduino-ide/windows.md) + [Instructions for Mac](docs/arduino-ide/mac.md) + [Instructions for Debian/Ubuntu Linux](docs/arduino-ide/debian_ubuntu.md) + [Instructions for Fedora](docs/arduino-ide/fedora.md) + [Instructions for openSUSE](docs/arduino-ide/opensuse.md)

๐Ÿ”ถ Precautions

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

๐Ÿ”ท Other

- [Click for details of power consumption](docs/power.md) - [Pin Map Click to View](docs/pinmap.md) - [3D Shell](https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library/blob/master/images/shell.png) - [Acsip S76/78 Library&Examples](https://github.com/lewisxhe/Acsip-S7xG-Library)

๐Ÿ”ถ More interesting projects

- [Flight Recorder](https://github.com/lyusupov/SoftRF/wiki/Flight-Recorder) - [TTGO_T_Watch_Baidu_Rec](https://github.com/lixy123/TTGO_T_Watch_Baidu_Rec) - [TTGO_T_Watch_Alarm_Clock](https://github.com/lixy123/TTGO_T_Watch_Alarm_Clock)