feat(apps): add T5 4.26" e-Paper clock example#497
Open
wzp100 wants to merge 1 commit intotuya:masterfrom
Open
feat(apps): add T5 4.26" e-Paper clock example#497wzp100 wants to merge 1 commit intotuya:masterfrom
wzp100 wants to merge 1 commit intotuya:masterfrom
Conversation
Add `apps/tuya_t5_4.26inch_e-Paper-clock`, a 4.26" e-Paper clock demo built on TuyaOpen. - Include 4in26 e-Paper driver, GUI rendering, and font/image assets with default pin config - Integrate Tuya IoT init and BLE/AP provisioning; button triggers netinfo clear and re-provisioning - Sync time via Tuya cloud timestamp, with optional NTP fallback (`EPD_CLOCK_ENABLE_NTP_FALLBACK`) - Handle DPs: `time_mode` (DPID 18, 12/24h) and `night_mode` (DPID 28) mapped to dark/light theme - Persist settings in KV; add CLI helpers `clock-reset` / `clock-wifi` for debugging - Refresh strategy: periodic full refresh to reduce ghosting; optional partial update path with alignment checks Docs: - Add `README.md` / `README_CN.md` covering wiring, build/flash/monitor, and config (`src/tuya_config.h`) - Add app-level `.gitignore` for build outputs and local config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
apps/tuya_t5_4.26inch_e-Paper-clock, a 4.26" e-Paper clock demo built on TuyaOpen.EPD_CLOCK_ENABLE_NTP_FALLBACK)time_mode(DPID 18, 12/24h) andnight_mode(DPID 28) mapped to dark/light themeclock-reset/clock-wififor debuggingDocs:
README.md/README_CN.mdcovering wiring, build/flash/monitor, and config (src/tuya_config.h).gitignorefor build outputs and local configPR 描述/PR description
硬件型号:T5AI-Board 开发套件
主要功能:实现墨水屏时钟,以及手机app联动功能。
墨水屏型号:微雪4.26 英寸墨水屏
提供一个T5开发板墨水屏时钟的代码,可以实现手机配网,手机app控制墨水屏夜间模式以及显示进制功能。
代码质量/Code Quality:
在本次拉取请求中,我已考虑以下事项 As part of this pull request, I've considered the following: