summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-03-20 12:12:38 (GMT)
committerGitHub <noreply@github.com>2020-03-20 12:12:38 (GMT)
commitd3bc2d84f8a5165ae7615ed078b9c015e0a14a65 (patch)
tree99eab45eab35b3493eeac7dcc12dc66583c6c12f
parent321484b845e18471950585302737f9a1a9119c40 (diff)
parentd037a467c90ea3f370768410ae19d460efc7e4e4 (diff)
Merge pull request #10 from jmwright/master
Fixed the documentation for setting the RTC time
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 85c8f52..3081517 100644
--- a/README.md
+++ b/README.md
@@ -84,10 +84,16 @@ 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()
~~~
+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.