Skip to content

Commit

Permalink
Changed to DMA Channel 10 from Channel 5 due to warning that Channel …
Browse files Browse the repository at this point in the history
…5 might corrupt the OS!

jgarff/rpi_ws281x#224
  • Loading branch information
Richard-Kirby committed Oct 30, 2021
1 parent c35786a commit f261c5e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion led_strip/led_strip.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def run(self):
LED_COUNT = 59 # Number of LED pixels.
LED_PIN = 18 # GPIO pin connected to the pixels (must support PWM!).
LED_FREQ_HZ = 800000 # LED signal frequency in hertz (usually 800khz)
LED_DMA = 5 # DMA channel to use for generating signal (try 5)
LED_DMA = 10 # DMA channel to use for generating signal (try 5)
LED_BRIGHTNESS = 255 # Set to 0 for darkest and 255 for brightest
LED_INVERT = False # True to invert the signal (when using NPN transistor level shift)

Expand Down
Loading

0 comments on commit f261c5e

Please sign in to comment.