circuitpython/examples/hwapi/hwconfig_esp8266_esp12.py
2017-01-29 18:57:37 +03:00

6 lines
159 B
Python

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