Examples: Corrected 'NUM_LEDS' to match our kit

This commit is contained in:
thirdr 2024-11-25 15:09:18 +00:00
parent e94444a24a
commit 7972b92cdf
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ from plasma import plasma2040
import time import time
# Set how many LEDs you have # Set how many LEDs you have
NUM_LEDS = 50 NUM_LEDS = 66
# APA102 / DotStar™ LEDs # APA102 / DotStar™ LEDs
# led_strip = plasma.APA102(NUM_LEDS, 0, 0, plasma2040.DAT, plasma2040.CLK) # led_strip = plasma.APA102(NUM_LEDS, 0, 0, plasma2040.DAT, plasma2040.CLK)

View File

@ -2,7 +2,7 @@ import plasma
from plasma import plasma2040 from plasma import plasma2040
# Set how many LEDs you have # Set how many LEDs you have
NUM_LEDS = 50 NUM_LEDS = 66
# APA102 / DotStar™ LEDs # APA102 / DotStar™ LEDs
# led_strip = plasma.APA102(NUM_LEDS, 0, 0, plasma2040.DAT, plasma2040.CLK) # led_strip = plasma.APA102(NUM_LEDS, 0, 0, plasma2040.DAT, plasma2040.CLK)