add time setter and calibration to RTC

This commit is contained in:
Edward Emelianov
2023-01-14 01:24:56 +03:00
parent c939c92fea
commit 44f7660ea0
9 changed files with 198 additions and 34 deletions

View File

@@ -2,9 +2,11 @@ Simplest work with RTC
Proto:
C - set/print calibration ticks (-511..+512) to each 2^20 ticks
Sd - set date (YY MM DD Weekday)
St - set time (HH MM SS)
t - print current Tms
T - print current Time like 'Mon Jan 1 00:05:19 2001'
T - print current Time
Button press - print current time @ usart3