sim, fewer features
parent
5d41bcda22
commit
2c8457f058
|
@ -3,28 +3,9 @@
|
|||
|
||||
import wasp
|
||||
|
||||
# Test app is used a lot on the simulator. Let's make sure it is
|
||||
# registered by default.
|
||||
wasp.system.register('apps.testapp.TestApp')
|
||||
|
||||
# Ensure there's something interesting to look at ;-)
|
||||
wasp.system.set_music_info({
|
||||
'track': 'Tasteless Brass Duck',
|
||||
'artist': 'Dreams of Bamboo',
|
||||
})
|
||||
|
||||
wasp.system.set_weather_info({
|
||||
'temp': '22',
|
||||
'hum': '100%',
|
||||
'txt': 'Cloudy',
|
||||
'wind': '25km/h',
|
||||
'loc': 'Toronto'
|
||||
})
|
||||
|
||||
|
||||
# Increase the display blanking time to avoid spamming the console
|
||||
# with backlight activations.
|
||||
wasp.system.blank_after = 300
|
||||
wasp.system.blank_after = 3600
|
||||
|
||||
# Instantiate the analogue clock application and replace the default
|
||||
# (digital) clock with this alternative.
|
||||
|
|
Loading…
Reference in New Issue