From 8968b5f612abb653df7862462bef4ca84cac6963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 05:12:53 +0100 Subject: [PATCH] testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- client/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/main.py b/client/main.py index e200715..ad704a9 100644 --- a/client/main.py +++ b/client/main.py @@ -1,6 +1,6 @@ import os import subprocess -from rpi_ws281x import Adafruit_NeoPixel +from rpi_ws281x import Adafruit_NeoPixel, ws import requests import json import time @@ -26,7 +26,7 @@ LEDS_PER_PIXEL = 5 # Global variables for LED strip control global strip -strip = Adafruit_NeoPixel(LED_COUNT, 18, 800000, 5, False, 255) +strip = Adafruit_NeoPixel(LED_COUNT, 18, 800000, 5, False, 255, 0, ws.2812b) strip.begin() def register_tube():