Enter the command print("hello world!") and the Pico should execute the print statement, displaying the text back on the next line. Now we can execute Python code interactively on our Pico. In the Terminal menu, set the Terminal Mode to Line Mode You can check which port is assigned to your Pico by opening device manager and looking for the USB Serial Device (Windows: Start > Settings > Device Manager) Navigate to where you downloaded CoolTerm and run CoolTerm.exeĬlick Options and select your Pico's port. Connect your Pico to your computer using the USB cable (The Pico will appear as a storage device.).The MicroPython download is under the "Getting Started with MicroPython" tab. CoolTerm - A program to send commands to the Pico over USB.The downloaded file will be called micropython-.uf2 MicroPython for Raspberry Pi Pico - this is software that runs on Pico which allows us to interactively program it.To follow along, all you'll need is a Raspberry Pi Pico, and a micro-USB lead to connect the Pico to your computer. Let's write our first program for the Raspberry Pi Pico. This guide is a little outdated: Follow our updated guide for a much simpler way to get started! Part 1 - Interactive Coding with the REPL
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |