![]() I'm liking Thonny more and more, though, but it's not for everyone. Rshell is pretty good once you get used to it. You also have to remember to eject the board properly or Linux will complain about the filesystem being dirty. In the Thonny Tools menu, select options, then interpreter, and change the interpreter to the MicroPython (Raspberry Pi Pico) option. USB storage mode is a mixed blessing: on some boards it can be huge (my F407VE boards expose the SD card, so I have 16 GB of program/data storage), but on tiny boards you have to jump through hoops to stop Mac and Windows machines storing lots of junk on it and filling up the drive. Some hardware (like the ESP8266, that has to use a serial bridge) can never support USB storage - that's why Adafruit dropped CircuitPython support for ESP8266. Some hardware doesn't support it, and I've a feeling that either the Pico doesn't, or enabling it hasn't yet been considered. I wonder why this was not enabled for Pico? ![]() Save the file to the Raspberry Pi Pico as picoi2clcd.py Programming an I2C LCD Screen with Raspberry Pi Pico With the libraries. u2f file or use a separate debugger (such as a pi or a second pico as a picoprobe) using one of the UART peripherals then you could use the USB port as a serial connection. You don’t need to configure anything related to Python. It just will not work with Thonny since Thonny has taken over the serial port. Click on the top left icon representing a raspberry > Programming > Thonny Python IDE. Before we get started, we need to install the Thonny IDE, along with installing MicroPython on the Raspberry Pi Pico. Once this is done, starting Thonny IDE is very simple. First, obviously, you need to install Raspberry Pi OS on a microSD card, for your Raspberry Pi board. Not expert on micropython but I've seen micropython builds for other boards exposing usb storage with main.py file that you can directly edit and save. Create a blank file in Thonny and paste the text into it. How to start Thonny IDE on Raspberry Pi OS.
0 Comments
Leave a Reply. |