- Added V1.1 version, mainly adding RTC alarm clock interrupt, focusing all interrupts on the IO32 pin.date : 2021-12-15
- 安装VSCODE和Python
- 在VSCODE扩展中搜索PlatformIO插件并安装。
- 安装完成,重新加载后,左下角会多一个小房子图标,点击后即可显示Platformio IDE主页
- 点击文件->打开文件夹->选择software文件夹,点击左下角(√)符号进行编译 (→)代表上传.
- 安装Arduino软件,将TWatch_2021_Library复制到
\Documents\Arduino\libraries
中。 - 打开例程文件,board选择ESP32 Dev Module,Flash为8MB,PSRAM为2MB
(Arduino可支持PSRAM,platfromIO暂不支持)
,选择对应端口。 - 编译构建->上传
- InstallVSCODEandPython
- Search for the PlatformIO plug-in in the VSCODE extension and install it.
- After the installation is complete and the reload is completed, there will be a small house icon in the lower left corner. Click to display the Platformio IDE home page
- Go to file - > Open folder - > Select the software folder and click the (√) symbol in the lower left corner to compile (→) for upload.
- Install Arduino software and copy TWatch_2021_Library to
\Documents\Arduino\libraries
. - Open the routine file, select ESP32 Dev Module for the board, 8MB for Flash, and 2MB for PSRAM (Arduino can support PSRAM, but platfromIO does not currently support), and select the corresponding port.
- Compile and build -> upload
Product | Product Link |
---|---|
T-Watch-2021 | Taobao |
- Copy the
TWatch_2021_Library
folder to theD:\Users\Your account\Documents\Arduino\libraries
directory. - Select in Arduino -> Tools
- board -> ESP32 Dev Module
- Arduino Runs on -> Core 1
- port -> Need to check the corresponding port in the task management area, remember to install the driver
- Flash Mode -> QIO
- Flash Size -> 8MB
- PSRAM -> Enable
Other options are default or can be customized
-
File -> Examples ->
TWatch_2021_Library
-> basicUnit -
The configuration file macro definition of this library is mainly in the
TWatch_config.h
andTWatch2021_V1.h
files in the library. -
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
TWatch_hal.h
, to understand how to initialize, after being familiar with it, you can completely leave this library for more advanced gameplay
Need to port V8 version of LVGL GUI support.Add more sample programs.WatchFrame- Add WIFI and BLE fast interface.
- Add ffat support.
2022.1.11
- Added how to use ARDUINO in README.
2021.12.27
- Released the V1.1 version of the watch motherboard, mainly adding alarm interrupts, adjusting the position of the screen cable and vibration current limit, and optimizing the overall sleep power consumption
- Fix motion interruption correction, add raise hand, single click, double click interrupt..
- Add LVGL support
- Add V0.0.2 version library
2021.10.19
- Add V0.0.1 version library