Raspberry Pi Pico Emulator for the Wokwi Simulation Platform. It blinks, runs Arduino code, and even the MicroPython REPL!
If you are just looking to play around with the Raspberry Pi Pico Simulator, check out the Wokwi Simulator:
For more information, take a look at the wokwi-pi-pico docs and the Pi Pico MicroPython Guide.
If you want to develop your own application using the Raspberry Pi Pico simulator, the following examples may be helpful:
- Blink LEDs with RP2040js, from scratch - Press "Run" and patiently wait for the code to compile ;-)
You'd need to get hello_uart.hex
by building it from the pico-examples repo, then copy it to the rp2040js root directory and run:
npm install
npm start
To run the micropython demo, first download rp2-pico-20210902-v1.17.uf2, place it in the rp2040js root directory, then run:
npm install
npm run start:micropython
and enjoy the MicroPython REPL! Quit the REPL with Ctrl+D.
You can replace rp2-pico-20210902-v1.17.uf2 any recent MicroPython or CircuitPython release built for the RP2040.
Released under the MIT licence. Copyright (c) 2021, Uri Shaked.