summaryrefslogtreecommitdiff
path: root/examples/hwapi/hwconfig_z_frdm_k64f.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-11-06 22:08:35 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-11-06 22:08:35 +0300
commit8f068e84eedd90146b66b9ffd8193e2e37a24b4d (patch)
treeb7d770ec9a15680d15d61bce6588511238f952b1 /examples/hwapi/hwconfig_z_frdm_k64f.py
parent5c3d75c937c1e7d220dcb8fb4230dd8280b1453f (diff)
examples/hwapi: Example showing best practices for HW API usage in apps.
Showing and providing detailed instructions and motivation.
Diffstat (limited to 'examples/hwapi/hwconfig_z_frdm_k64f.py')
-rw-r--r--examples/hwapi/hwconfig_z_frdm_k64f.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/hwapi/hwconfig_z_frdm_k64f.py b/examples/hwapi/hwconfig_z_frdm_k64f.py
new file mode 100644
index 000000000..c45e3e756
--- /dev/null
+++ b/examples/hwapi/hwconfig_z_frdm_k64f.py
@@ -0,0 +1,5 @@
+from machine import Pin
+
+# Freescale/NXP FRDM-K64F board
+# Blue LED on port B, pin 21
+LED = Pin(("GPIO_1", 21), Pin.OUT)