Skip to content

Commit 886ba7f

Browse files
committed
LEDs: Use channel 10 for DMA
Switch to use DMA channel 10 for LED control as per issue jgarff/rpi_ws281x#224.
1 parent ca4da76 commit 886ba7f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

debian/changelog

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
kano-peripherals (4.0.0-0) unstable; urgency=low
22

33
* Added touch-detect tool
4+
* Switch to use DMA channel 10 for LED control
45

56
-- Team Kano <[email protected]> Fri, 1 Jun 2018 16:00:00 +0100
67

libs/pi_hat/library/python/kano_pi_hat/kano_hat_leds.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ def __init__(self, brightness=150):
2727

2828
self._leds = neopixel.Adafruit_NeoPixel(
2929
KanoHatLeds.LED_COUNT,
30-
KanoHatLeds.LED_PIN
30+
KanoHatLeds.LED_PIN,
31+
dma=10
3132
)
3233

3334
self.set_brightness(brightness)

0 commit comments

Comments
 (0)