make sim
CTRL + C
>>> from apps.hello_app import HelloOxPython
>>> wasp.system.register(HelloOxPython())
>>> wasp.system.run()
./tools/wasptool --exec /wasp-os/apps/hello_app.py --eval "wasp.system.register(HelloOxPython())"
./tools/wasptool --upload ~/repos/personal/micropython/wasp-os/wasp-os/apps/swipe_test.py
./tools/wasptool --console
import wasp
from swipe_test import SwipeTest
wasp.system.register(SwipeTest())
./tools/wasptool --console
import os
os.remove("swipe_test.py")
del os
./tools/wasptool --upload ~/repos/personal/micropython/wasp-os/wasp-os/apps/swipe_test.py
./tools/rle_encode.py --2bit myicon.png > myicon.py
climb_on_icon = (
b'\x02'
b'`@'
b'\xff\xaa\xc1\xc1\xc1@\xfbAAA\xc1\xc1\xc1'
b'\xc1\xc1\xfb\xc1A\x80\xd0\x81\xc0\xf7\xc'
b'AE\x80\xfb\x81\xc0\xf7\xc1\xc1\x81zA\x81'
)
⌚ wasptools (--console, --exec )
⌚ dfu.py (Bluetooth - OTA Firmware Updates)
⌚ rle_encode.py (Create 2-bit RLE icon from png)
⌚ mpy-cross (Compiles .py scripts into .mpy files)
⌚ make sim (Simulator and console)
⌚ watch.backlight
⌚ watch.drawable
⌚ watch.battery
⌚ watch.rtc
⌚ watch.button
⌚ watch.touch
⌚ watch.display
⌚ watch.vibrator
⌚ widgets.BatteryMeter
⌚ widgets.NotificationBar
⌚ widgets.Checkbox
⌚ widgets.ScrollIndicator
⌚ widgets.Clock
⌚ widgets.Slider
⌚ widgets.ConfirmationView
⌚ widgets.Spinner
⌚ widgets.StatusBar
⌚ widgets.ToggleButton