Giter Site home page Giter Site logo

northerndiy / ttgo_twatch_library Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xinyuan-lilygo/ttgo_twatch_library

0.0 0.0 0.0 38.56 MB

Home Page: https://www.aliexpress.com/item/33038999162.html

License: MIT License

C++ 2.75% C 97.16% Objective-C 0.03% Makefile 0.01% Python 0.06% Shell 0.01%

ttgo_twatch_library's Introduction

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

English | ไธญๆ–‡

โญ News

  1. In order to be compatible with multiple versions of T-Watch, all examples include a config.h file. For the first use, you need to define the T-Watch model you use in the config.h file
  2. In the config.h file, you can also see similar definitions, such as LILYGO_WATCH_LVGL, LILYGO_WATCH_HAS_MOTOR, this type of definition, it will be responsible for opening the defined module function, all definitions Will be available here View
  3. Most of the examples are only used as hardware function demonstrations. This library only completes some initialization work and some demonstrations. For more advanced gameplay, please see TTGO.h, to understand how to initialize, after being familiar with it, you can completely leave this library for more advanced gameplay

screenshot screenshot screenshot screenshot screenshot screenshot screenshot screenshot screenshot screenshot

๐Ÿš€ 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 v7.3.1 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

  • Install the Arduino IDE. Note: Later instructions may not work if you use Arduino via Flatpak.
  • Download a zipfile from github using the "Download ZIP" button and install it using the IDE ("Sketch" -> "Include Library" -> "Add .ZIP Library...", OR:
  • Clone this git repository into your sketchbook/libraries folder. For more info, see https://www.arduino.cc/en/Guide/Libraries

๐Ÿ”ท Note

๐Ÿ”ถ How to find the sample program

  • T-Watch
  • In the Arduino board select TTGO T-Watch
  • In the Arduino File -> Examples -> TTGO_TWatch_Library
  • LilyPi
  • In the Arduino board select ESP32 Dev Module
  • In the Arduino File -> Examples -> TTGO_TWatch_Library

๐Ÿ”ถ Precautions

  • T-Watch-2019 : Since Twatch uses a special IO as the SD interface, please remove the SD card when downloading the program.
  • LilyPi : Since Twatch uses a special IO as the SD interface, please remove the SD card when downloading the program.

๐Ÿ”ท Other

๐Ÿ”ถ More interesting projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.