You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more information, take a look at the [wokwi-pi-pico docs](https://docs.wokwi.com/parts/wokwi-pi-pico) and the [Pi Pico MicroPython Guide](https://docs.wokwi.com/guides/micropython).
15
15
16
16
If you want to develop your own application using the Raspberry Pi Pico simulator, the following examples may be helpful:
17
17
18
-
*[Blink LEDs with RP2040js, from scratch](https://stackblitz.com/edit/rp2040js-blink?file=index.ts) - Press "Run" and patiently wait for the code to compile ;-)
18
+
-[Blink LEDs with RP2040js, from scratch](https://stackblitz.com/edit/rp2040js-blink?file=index.ts) - Press "Run" and patiently wait for the code to compile ;-)
19
19
20
20
## Run the demo project
21
21
22
22
### Native code
23
+
23
24
You'd need to get `hello_uart.hex` by building it from the [pico-examples repo](https://github.com/raspberrypi/pico-examples/tree/master/uart/hello_uart), then copy it to the rp2040js root directory and run:
24
25
25
26
```
@@ -28,6 +29,7 @@ npm start
28
29
```
29
30
30
31
### MicroPython code
32
+
31
33
To run the MicroPython demo, first download [rp2-pico-20210902-v1.17.uf2](https://micropython.org/resources/firmware/rp2-pico-20210902-v1.17.uf2), place it in the rp2040js root directory, then run:
32
34
33
35
```
@@ -51,6 +53,7 @@ With MicroPython – and probably also CircuitPython – you can use the filesys
51
53
52
54
A simple way to create a suitable LittleFS image containing your script files is outlined in [create_littlefs_image.py](https://github.com/tomods/GrinderController/blob/358ad3e0f795d8cc0bdf4f21bb35f806871d433f/tools/create_littlefs_image.py).
53
55
So, using [littlefs-python](https://pypi.org/project/littlefs-python/), you can do the following:
0 commit comments