summaryrefslogtreecommitdiffstatshomepage
path: root/examples/hwapi/hwconfig_z_96b_carbon.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hwapi/hwconfig_z_96b_carbon.py')
-rw-r--r--examples/hwapi/hwconfig_z_96b_carbon.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/hwapi/hwconfig_z_96b_carbon.py b/examples/hwapi/hwconfig_z_96b_carbon.py
new file mode 100644
index 0000000000..97fd57a07f
--- /dev/null
+++ b/examples/hwapi/hwconfig_z_96b_carbon.py
@@ -0,0 +1,9 @@
+from machine import Signal
+
+# 96Boards Carbon board
+# USR1 - User controlled led, connected to PD2
+# USR2 - User controlled led, connected to PA15
+# BT - Bluetooth indicator, connected to PB5.
+# Note - 96b_carbon uses (at the time of writing) non-standard
+# for Zephyr port device naming convention.
+LED = Signal(("GPIOA", 15), Pin.OUT)