examples/hwapi: Example showing best practices for HW API usage in apps.

Showing and providing detailed instructions and motivation.
This commit is contained in:
Paul Sokolovsky
2016-11-06 22:08:35 +03:00
parent 5c3d75c937
commit 8f068e84ee
4 changed files with 174 additions and 0 deletions

View File

@@ -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)