8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1195784 commit 29f3f84Copy full SHA for 29f3f84
examples/hwapi/hwconfig_dragonboard410c.py
@@ -0,0 +1,12 @@
1
+from machine import Pin
2
+
3
+# 96Boards/Qualcomm DragonBoard 410c
4
+# By default, on-board LEDs are controlled by kernel LED driver.
5
+# To make corresponding pins be available as normal GPIO,
6
+# corresponding driver needs to be unbound first (as root):
7
+# echo -n "soc:leds" >/sys/class/leds/apq8016-sbc:green:user1/device/driver/unbind
8
+# Note that application also either should be run as root, or
9
+# /sys/class/gpio ownership needs to be changed.
10
11
+# User LED 1 on gpio21
12
+LED = Pin(21, Pin.OUT)
0 commit comments