wokwi / rp2040js

A Raspberry Pi Pico Emulator in JavaScript
MIT License
400 stars 44 forks source link

UART Receive (RX) #41

Closed urish closed 3 years ago

urish commented 3 years ago

We got MicroPython to successfully run in the emulator! 🎉

Right now, we only have UART Transmit (TX), so we can see the output of the MicroPython interpreter, but we can't input any commands.

In order to make MicroPython usable, we also need to implement UART Receive (RX).

Precompiled MicroPython with UART REPL

The following MicroPython version was compiled with a UART REPL (setting MICROPY_HW_ENABLE_UART_REPL to 1 in ports/rp2/mpconfigport.h):

micropython.hex