Commit Graph

7 Commits

Author SHA1 Message Date
edisondeng
6baf93c550 feat(ui): show real weekday/day/month on HOME screen instead of placeholder
UI_ShowClockPage()/UI_ShowSetTimePage() now take weekday/day/month(/year)
and build the date bar dynamically via Build_DateString() instead of
the fixed placeholder string. app_home.c reads the full date from RTC
via PCF8563_ReadDateTime() and recalculates weekday since the RTC's
stored date may differ from the software clock's. config.h exposes
current_day/month/year/weekday alongside the existing time fields so
main.c's debug commands don't need a separate include.
2026-07-31 19:43:43 +08:00
edisondeng
dac2ea4335 fix(ui): partial-refresh time-set digit blink instead of full screen
UI_ShowSetTimePage() cleared and redrew the entire screen on every
500ms blink toggle and on every up/down value change, causing a
full-screen flash instead of just the intended hour/minute digit
blinking. Split out UI_UpdateSetTimeDigit() which only repaints the
32x32px digit region for the field being edited; the full page draw
is now only used on entry. Field-switch (long-press CONFIRM) refreshes
both digit regions to clear any stale blanked-out state.
2026-07-31 19:14:14 +08:00
edisondeng
a7a2cc9465 暂存 2026-07-31 13:57:06 +08:00
d01121e3ae feat: 校准电池电压与ADC2充电检测,重构RGB为Bitbang翻转驱动,并修复RTC晶振起振问题 2026-07-28 18:08:40 +08:00
Antigravity IDE
47bcd252b2 修正1.14寸屏幕垂直偏置并添加自动清屏以清除开机噪声;修正新硬件射频收发引脚对调,低功耗唤醒中断重定向至P3.6中断16;添加一键串口收发诊断测试指令,并临时屏蔽SOS物理按键 2026-07-17 19:43:02 +08:00
Antigravity IDE
731115e09a docs: 为所有代码源文件添加详细中文注释,并在设计文档中纠正GPIO物理引脚映射表 2026-07-16 17:53:44 +08:00
Antigravity IDE
7ebe802410 Modularize main.c into rgb, event, database, ui, system, and app_manager modules 2026-07-15 16:14:30 +08:00