summaryrefslogtreecommitdiff
path: root/examples/hwapi/hwconfig_z_frdm_k64f.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-01-29 19:09:33 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-01-29 19:09:33 +0300
commita5bed53738e8aedc3b4be39dc8f9dface6b0abbb (patch)
tree9646024a46b21843144f0f5b23c3f2178d03a0d1 /examples/hwapi/hwconfig_z_frdm_k64f.py
parent297af6036ef28a8e1558b5ca0a2e6f689a7af474 (diff)
examples/hwapi: Consistently use Signal class to define LEDs.
Diffstat (limited to 'examples/hwapi/hwconfig_z_frdm_k64f.py')
-rw-r--r--examples/hwapi/hwconfig_z_frdm_k64f.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hwapi/hwconfig_z_frdm_k64f.py b/examples/hwapi/hwconfig_z_frdm_k64f.py
index c45e3e756..583e8d7aa 100644
--- a/examples/hwapi/hwconfig_z_frdm_k64f.py
+++ b/examples/hwapi/hwconfig_z_frdm_k64f.py
@@ -2,4 +2,4 @@ from machine import Pin
# Freescale/NXP FRDM-K64F board
# Blue LED on port B, pin 21
-LED = Pin(("GPIO_1", 21), Pin.OUT)
+LED = Signal(Pin(("GPIO_1", 21), Pin.OUT))