Animating an RGB lamp, using WebAssembly!
Nordic nRF51822 QFAA
(16 MHz Cortex-M0, 16 Kb RAM, 256 Kb Flash)Wasm3
Arduino
PlatformIO
AssemblyScript
on nRF51
Color Wheel
animation workingBluetooth LE
stackwasm
binary to device using BLE (store to RAM)wasm
binary to flash./assemblyscript
contains the wasm app. This implements an animation.
./wasm_vm
contains the interpreter/VM.
PlatformIO
assemblyscript
directory, run npm install
make
make run