micropython/examples/hwapi/hwconfig_esp8266_esp12.py

6 lines
105 B
Python

from machine import Pin
# ESP12 module as used by many boards
# Blue LED on pin 2
LED = Pin(2, Pin.OUT)