Skip to content

Examples written using Mechanoid framework for WASM-based embedded development.

License

Notifications You must be signed in to change notification settings

hybridgroup/mechanoid-examples

Repository files navigation

Mechanoid logo

Mechanoid Examples

This repo contains example applications written using Mechanoid (https://mechanoid.io)

See the README files inside each for details on what they do, how they work and the recommended runtime interpreter (wazero, wasman,...), as there are some differences among them and the example might not run correctly.

Blinky

Blinky

Application that loads an embedded WASM program that blinks an LED on the hardware.

Buttons

Buttons

Application that loads an embedded WASM program and sends it events from pressing the buttons. The WASM programs then displays messages on the small screen on the hardware device.

Display

Display

Application that loads an embedded WASM program and displays the interaction on the small screen on the hardware device.

Externref

Application built using Mechanoid that uses host external references.

Filestore

Application that demonstrates how to use the onboard Flash storage on the hardware device to save/load/run external WASM modules via a Command line interface directly on the device itself.

Also shows how to use Mechanoid with WASM modules written using TinyGo, Rust, or Zig.

Simple

Example of a simple "ping" application built using Mechanoid.

Thumby

Thumby

This is an example of an application built using Mechanoid specifically for the Thumby "itty-bitty game system".

ThumbyFile

Thumby

Application that demonstrates how to use the onboard Flash storage on the Thumby device to save/load/run external WASM modules via a Command line interface directly on the device itself, along with display support so you can see what it happening on the tiny display.

Also shows how to use Mechanoid with WASM modules written using TinyGo, Rust, or Zig.

WASMBadge

WASMBadge

This application is a conference badge programmed using WASM.

WASMDrone

WASMDrone

This application lets you write a WebAssembly program that runs on a hardware device with connected wireless to fly a DJI Tello drone.