pioasm

Raspberry Pi Pico pioasm compiled to Web Assembly


Keywords
Raspberry Pi Pico, PIO, Programmable IO, Web Assembly, WASM, Emscripten, web-assembly, raspberry-pi-pico, pi-pico
License
MIT
Install
npm install pioasm@2.0.0

Documentation

pioasm-wasm

Raspberry Pi Pico pioasm tool compiled to Web Assembly.

Online pioasm

The online version of pioasm allows you to compile PIO assembly code to C/Python/Ada right in your browser:

https://wokwi.com/tools/pioasm

Library usage example

You can install the library from npm:

npm install --save pioasm

or yarn:

yarn add pioasm

Usage example:

import { PIOAssembler } from 'pioasm';

const source = `
  .program blink
  pull block
  out y, 32
`;

const pioasm = new PIOAssembler();
pioasm.assemble(source).then(result => {
  console.log(result.output);
})

License

This project, excluding pioasm, is released under the MIT license. Consult the LICENSE file for more details.