Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.1 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.1 KB

espruino-await

This uses rollup, babel and fast-async to show how async/await can be used with Espruino.

Verified with Puck.js, Espruino Pico 1.3, ESP32, Espruino v1.96

Howto

npm install

# Bundle the source code and upload it to the board
npm start --production

Preview

Some other commands:

# Bundle in development mode
npm run build

# Bundle in production mode (minified)
npm run build --production

# Open device console
npm run console

Note: this currently uses a Makefile, so can have trouble uploading to the board on Windows. This can be easily tweaked.

Related issues