TungNT (Blue)

tungnt.blue@gmail.com

User Tools

Site Tools


development:python:micropython

This is an old revision of the document!


ESP32 - Micropython

Cấu trúc thư mục

  1. boot.py: File khởi tạo các cấu hình pyboard.
  2. main.py: File chương trình, được thực thi sau file boot.py.

Thony IDE

boot.py
import gc
import esp
from machine import Pin
 
esp.osdebug(None)
gc.collect()
 
led2 = Pin(2, Pin.OUT)

Kết nối thiết bị

OLed

development/python/micropython.1723733229.txt.gz · Last modified: 2024/08/15 14:47 by tungnt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki