disable neopixel for now

This commit is contained in:
Tassilo Schweyer 2025-12-29 01:15:51 +01:00
parent 48fd906e49
commit e6daa24561

View file

@ -117,19 +117,19 @@ def mainloop(l):
last_pixel_update = 0 last_pixel_update = 0
for i in range(6): #for i in range(6):
LED_NP[i] = (255,255,255, 255) # LED_NP[i] = (255,255,255, 255)
LED_NP.write() #LED_NP.write()
time.sleep(1) #time.sleep(1)
while True: while True:
ctr += 1 ctr += 1
# run one iteration of control loop # run one iteration of control loop
last_action_start = controlloop(last_action_start, next_action) last_action_start = controlloop(last_action_start, next_action)
if time.time() > last_pixel_update + 0.5: #if time.time() > last_pixel_update + 0.5:
#LED_NP[ctr % 6] = (ctr*3 % 255, ctr*2 % 255, (ctr+1)*3 % 255) # #LED_NP[ctr % 6] = (ctr*3 % 255, ctr*2 % 255, (ctr+1)*3 % 255)
last_pixel_update = time.time() # last_pixel_update = time.time()
LED_NP.write() # LED_NP.write()
a = None a = None
try: try: