apps: alarm: Add the alarm app to the library
Like the other library applications this is enabled in the simulator and included in the flash image but is disabled by default to conserve RAM (and to give time to new apps to mature and receive improvements). Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
parent
39c9344b14
commit
233c136a5c
3 changed files with 11 additions and 0 deletions
|
@ -43,6 +43,13 @@ It can be enabled by modifying ``main.py``.
|
|||
Integration
|
||||
-----------
|
||||
|
||||
.. automodule:: apps.alarm
|
||||
|
||||
This app is enabled by default in the simulator.
|
||||
The app is also frozen into the firmware image but it is disabled by
|
||||
default in order to keep RAM available for user developed applications.
|
||||
It can be enabled by modifying ``main.py``.
|
||||
|
||||
.. automodule:: apps.musicplayer
|
||||
|
||||
This app is enabled by default in the simulator.
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"""Shared manifest for applications that work well on a 240x240 display."""
|
||||
|
||||
manifest = (
|
||||
'apps/alarm.py',
|
||||
'apps/clock.py',
|
||||
'apps/flashlight.py',
|
||||
'apps/gameoflife.py',
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
|
||||
import wasp
|
||||
|
||||
from apps.alarm import AlarmApp
|
||||
wasp.system.register(AlarmApp())
|
||||
|
||||
from apps.fibonacci_clock import FibonacciClockApp
|
||||
wasp.system.register(FibonacciClockApp())
|
||||
|
||||
|
|
Loading…
Reference in a new issue