diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-02-04 08:50:14 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-02-04 08:50:14 (GMT) |
| commit | 4330aafaf00a10dcfd8da35bea826b5f9d38da66 (patch) | |
| tree | 339ae14094dfa9c46b28ca697b6e33524193df57 /README.md | |
| parent | b48df32eb1a2f673346377a5a1cfc0ec3246e083 (diff) | |
README: Update describing how the clock app works
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 31 |
1 files changed, 24 insertions, 7 deletions
@@ -45,16 +45,33 @@ trying to program it.* * Connect to PineDFU using nRFConnect, click the DFU button and send `micropython.zip` to the device. -At the end of this process your watch you will see a couple of splash -screens (bootloader shows a small Pine64 logo, MicroPython shows are -larger one). Once the second splash screen appears you will be able to -use the Nordic UART Service to access the MicroPython REPL. +At the end of this process your watch will show the time (12:00) and a +battery meter. When the watch goes into power saving mode you can use +the side button to wake it again. -Drivers are still in development, see the [TODO list](todo.md) for -current status. In the mean time try the following and then take -a look at the `wasp/` directory to see how it works: +At this point you will also be able to use the Nordic UART Service to +access the MicroPython REPL, although currently you must send ^C to +interrupt the program that updates the watch display. + +Just for fun try: ~~~ +^C import demo demo.run() +# After watching the demo for a bit... +^C +wasp.app.draw(watch) +wasp.run() +~~~ + +To set the time and restart the main application: + +~~~ +^C +watch.rtc.set_time((hh, mm, ss)) +wasp.run() ~~~ + +At this stage there are many drivers and features still to be +developed, see the [TODO list](todo.md) for current status. |
