summaryrefslogtreecommitdiffstatshomepage
path: root/examples/hwapi/hwconfig_z_96b_carbon.py
blob: d4f98139bc67172849ec44e8553188a5f499040e (plain) (blame)
1
2
3
4
5
6
7
8
9
from machine import Pin, 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)