summaryrefslogtreecommitdiffstats
path: root/prog/jelka/jelka_hardware.py
diff options
context:
space:
mode:
Diffstat (limited to 'prog/jelka/jelka_hardware.py')
-rw-r--r--prog/jelka/jelka_hardware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/jelka/jelka_hardware.py b/prog/jelka/jelka_hardware.py
index 7361ed7..effee52 100644
--- a/prog/jelka/jelka_hardware.py
+++ b/prog/jelka/jelka_hardware.py
@@ -10,7 +10,7 @@ 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)
LED_CHANNEL = 0 # set to '1' for GPIOs 13, 19, 41, 45 or 53
-luči = LED_COUNT
+luči = jelka_config.luči
strip = PixelStrip(luči, LED_PIN, LED_FREQ_HZ, LED_DMA, LED_INVERT, LED_BRIGHTNESS, LED_CHANNEL)
strip.begin()