Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

🚀 Phase 00_Practice: First Run 🌍

MicroPython Badge Thonny Badge ESP8266 Badge

"Uplink established. Executing the first continuous loop directly on the hardware."

This guide walks you through connecting your IDE to the flashed ESP8266, creating the main boot file, and running your very first script.


🔌 ESTABLISHING THE CONNECTION

  1. Launch the IDE: Open Thonny on your system.
  2. Switch the Interpreter: Look at the bottom right corner of the Thonny window. Click on the text displaying your local Python version (e.g., "Local Python 3") and change it to MicroPython (ESP8266).

💾 WRITING THE SCRIPT

  1. Locate the Files pane on the left side of Thonny.
  2. Under the MicroPython device section, create a new file and name it main.py.
  3. Open main.py and paste the following script:
from utime import sleep

while 1:
    print('Good byee world')
    sleep(1)

⚡ EXECUTION & CONTROL

  • Execute: Click the green "Run current script" button in the top toolbar, or simply press F5 on your keyboard. You will see the text begin to stream in the Shell below.
  • Abort: To break the loop and regain control of the hardware prompt, click inside the Shell area and press Ctrl+C on your keyboard.