diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-04-27 18:08:05 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-04-27 18:08:05 +0300 |
commit | 11a962099ea8735227623443c62c0248b98e4805 (patch) | |
tree | 545ee281beebdfb97b7d55257523b33480933238 /examples/hwapi | |
parent | 8109cd5f23c530ef568c617c85193cfa9b836dbc (diff) | |
download | micropython-11a962099ea8735227623443c62c0248b98e4805.tar.gz micropython-11a962099ea8735227623443c62c0248b98e4805.zip |
examples/hwapi: Add config for Zephyr port of 96Boards Carbon.
Diffstat (limited to 'examples/hwapi')
-rw-r--r-- | examples/hwapi/hwconfig_z_96b_carbon.py | 9 |
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) |