testing
Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
from rpi_ws281x import Adafruit_NeoPixel
|
from rpi_ws281x import Adafruit_NeoPixel, ws
|
||||||
import requests
|
import requests
|
||||||
import json
|
import json
|
||||||
import time
|
import time
|
||||||
@@ -26,7 +26,7 @@ LEDS_PER_PIXEL = 5
|
|||||||
|
|
||||||
# Global variables for LED strip control
|
# Global variables for LED strip control
|
||||||
global strip
|
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()
|
strip.begin()
|
||||||
|
|
||||||
def register_tube():
|
def register_tube():
|
||||||
|
|||||||
Reference in New Issue
Block a user