summaryrefslogtreecommitdiff
path: root/examples/hwapi/hwconfig_esp8266_esp12.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hwapi/hwconfig_esp8266_esp12.py')
-rw-r--r--examples/hwapi/hwconfig_esp8266_esp12.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/hwapi/hwconfig_esp8266_esp12.py b/examples/hwapi/hwconfig_esp8266_esp12.py
new file mode 100644
index 000000000..e8cf2d12e
--- /dev/null
+++ b/examples/hwapi/hwconfig_esp8266_esp12.py
@@ -0,0 +1,5 @@
+from machine import Pin
+
+# ESP12 module as used by many boards
+# Blue LED on pin 2
+LED = Pin(2, Pin.OUT)