中文
English |Use Arduino IDE
- Install the correct serial port driver CP210X Driver
- Change
src/main.cpp
tosrc.ino
- Copy the files in the lib directory to
~/Arduino/libraries
, Windows users copy toDocuments/Arduino/libraries
- Double-click to open
src/src.ino
- Change the port to the correct port and select upload
Use PlatformIO
- Install the correct serial port driver CP210X Driver
- Open directly to change your serial port in
platformio.ini
, click compile
- Note: To use
TFT_eSPI
, you need to select the correct model, you need to selectSetup26_TTGO_T_Wristband.h
, which has the same definition asT-Wristband
, If the copy is in the lib folder, you can ignore it
Examples Description
In the examples directory contains two sample programs, FactoryTest
is the factory test file,
HeartRateMeter
is a simple heart rate meter. You need to change the program.
You only need to copy the files in the directory to the src directory.
Arduino IDE
needs to be renamed to src.ino
, and PlatformIO
can be opened and compiled directly