From 0d248c5fab30faca37e4f43a96f58a427e211af5 Mon Sep 17 00:00:00 2001 From: Jeremy Wright Date: Thu, 19 Mar 2020 17:32:42 -0400 Subject: [PATCH 1/2] Fixed the documentation for setting the RTC time --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 85c8f52..96d4a42 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ To set the time and restart the main application: ~~~ ^C -watch.rtc.set_time((hh, mm, ss)) +watch.rtc.set_localtime((yyyy, mm, dd, HH, MM, SS)) wasp.run() ~~~ From d037a467c90ea3f370768410ae19d460efc7e4e4 Mon Sep 17 00:00:00 2001 From: Jeremy Wright Date: Fri, 20 Mar 2020 07:31:32 -0400 Subject: [PATCH 2/2] Updated readme to reference wasptool for setting rtc. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 96d4a42..3081517 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,12 @@ watch.rtc.set_localtime((yyyy, mm, dd, HH, MM, SS)) wasp.run() ~~~ +Or just use: +~~~ +./tools/wasptool --rtc +~~~ +which can run these commands automatically. + As mentioned above there are many drivers and features still to be developed, see the [TODO list](TODO.md) for current status.