examples/hwapi: Add config for Zephyr port of 96Boards Carbon.

pull/1/head
Paul Sokolovsky 2017-04-27 18:08:05 +03:00
parent 8109cd5f23
commit 11a962099e
1 changed files with 9 additions and 0 deletions

View File

@ -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)