embassy/examples/wasm
2022-08-17 19:01:56 +02:00
..
src Split embassy crate into embassy-executor, embassy-util. 2022-07-29 23:40:36 +02:00
Cargo.toml Update to critical-section 1.0, atomic-polyfill 1.0 2022-08-17 19:01:56 +02:00
index.html Add WASM support for executor 2021-09-13 16:42:39 +02:00
README.md Add WASM support for executor 2021-09-13 16:42:39 +02:00

WASM example

Examples use a CLI tool named wasm-pack to build this example:

cargo install wasm-pack

Building

To build the example, run:

wasm-pack build --target web

Running

To run the example, start a webserver server the local folder:

python -m http.server

Then, open a browser at https://127.0.0.1:8000 and watch the ticker print entries to the window.