circuitpython/examples/hwapi/hwconfig_esp8266_esp12.py
Paul Sokolovsky 8f068e84ee examples/hwapi: Example showing best practices for HW API usage in apps.
Showing and providing detailed instructions and motivation.
2016-11-06 22:08:35 +03:00

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)