diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-04-18 14:34:49 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-04-26 14:01:48 (GMT) |
| commit | 9348e758b20a84502baabe46e400dee1811fdd4c (patch) | |
| tree | b2b87804396b8fa2749842847f525d49b23dab7c /wasp/apps | |
| parent | 5b277e94f11474e3c34f943ee63b9155e96777e2 (diff) | |
wasp: nrf_rtc: Add a tiny bit of extra resolution
We now have a couple of applications (stopwatch, Game of Life) that benefit
from sub-second precision. The micropython RTC/utime code for nrf still
needs a major overhaul but this allows us to paper over the cracks for
just a little longer.
Diffstat (limited to 'wasp/apps')
| -rw-r--r-- | wasp/apps/gameoflife.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wasp/apps/gameoflife.py b/wasp/apps/gameoflife.py index 95883c6..080c214 100644 --- a/wasp/apps/gameoflife.py +++ b/wasp/apps/gameoflife.py @@ -163,7 +163,7 @@ class GameOfLifeApp(): """Activate the application.""" self._draw() wasp.system.request_event(wasp.EventMask.TOUCH) - wasp.system.request_tick(1000) + wasp.system.request_tick(625) def tick(self, ticks): """Notify the application that its periodic tick is due.""" |
