parent
09c5426558
commit
0e339c25c2
|
@ -1,6 +1,6 @@
|
||||||
import os
|
import os
|
||||||
import wifi
|
import wifi
|
||||||
from neopixel import *
|
import neopixel
|
||||||
import requests
|
import requests
|
||||||
import json
|
import json
|
||||||
import time
|
import time
|
||||||
|
@ -24,7 +24,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, LED_STRIP_PIN, 800000, 10, False)
|
strip = neopixel.NeoPixel(LED_STRIP_PIN, LED_COUNT)
|
||||||
strip.begin()
|
strip.begin()
|
||||||
|
|
||||||
def register_tube():
|
def register_tube():
|
||||||
|
|
Loading…
Reference in New Issue