From Hardware Simulation to Real Devices with WebAssembly Using TinyGo
CNCF WASM Day 2022
Ron Evans - @deadprogram
Go compiler for small places
package main
func main() {
println("Hello, world.")
}
TinyGo out in the wild world of WASM
This talk is about Simulating Hardware using wasm
Compile and execute TinyGo code in the cloud
TinyGo on Hardware Running Native Binary
tinygo build -target=arduino -o=/tmp/blink.hex blink.go
TinyGo in Playground Running WebAssembly binary
tinygo build -tags=arduino -opt=1 -no-debug -o=/tmp/module.wasm blink.go
Adafruit Circuit Playground Express
Blink
TinyGo Playground Architecture
Adafruit Circuit Playground Express
WS2812 RGB LEDS
"TinyGo Preview - how does it work?"
Thank you!
Technologist For Hire