Now that you've got a connection, you can run commands on the REPL, of course. Unfortunately, this doesn't always work great and you may have to press Enter/Return a few times till its responsive.hey, they did say it's an experimental feature, after all) (A tip: if your ESP32 was running a server at the time you connected to it, you will need to send one or more Ctrl+Cs to kill the server and get access to the REPL. Potatoes are the bestĬlick OK at the bottom and voila! If you set up everything right, you should see your shell pane pop up at the bottom of Thonny with the magic words everyone wants to hear: "WebREPL connected". If you don't know your ESP32's IP address or have no clue how to configure the WebREPL password, fear not! There's a tutorial for that □ You can see an example of my IP address and password below. Now enter your ESP32's IP address and WebREPL password in the new menu. To get the same functionality but wirelessly, click on the dropdown menu and change the selected option to. It does say it's an experimental feature, so expect a bit of janky-nessīy default, Thonny is configured to automatically detect any microcontroller you connect using your USB port, and give you access to its files and its REPL shell. At the bottom you will see a dropdown menu named Port or WebREPL. In the menu, click on Preferences and open up the Interpreter tab. Open up Thonny IDE (if you don't have it, you can download it here). If you want to speed up your workflow when coding in Micropython, read on (or watch the video) to find out how! Luckily for us, there's an awesome solution - using WebREPL within Thonny itself! And the crazy part is, this feature is already built into 's just very well hidden. and going back to Thonny to fix any bugs. We've learned how to wirelessly connect and upload new code to an ESP32 using WebREPL before.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |