a small web app that runs in the browser and flashes a .hex firmware file onto a micro:bit over WebUSB. It uses the dapjs library, prompts the user to select a connected micro:bit, shows flash progress, and reports success or errors. It is built with React and Vite;
Prerequisites:
- Node.js (v16+)
- npm or yarn
- A Chromium-based browser that supports WebUSB (Chrome) and a connected micro:bit
Install and run the dev server:
npm install
npm run devOpen the URL reported by Vite in Chrome, allow WebUSB access, select the micro:bit, and flash the .hex file.
To build and preview a production bundle:
npm run build
npm run preview