From e6daa245619407842b5f388be5bead1aa7485f84 Mon Sep 17 00:00:00 2001 From: Tassilo Schweyer Date: Mon, 29 Dec 2025 01:15:51 +0100 Subject: [PATCH] disable neopixel for now --- shittyrobot.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/shittyrobot.py b/shittyrobot.py index 3262b6f..aa81c3a 100644 --- a/shittyrobot.py +++ b/shittyrobot.py @@ -117,19 +117,19 @@ def mainloop(l): last_pixel_update = 0 - for i in range(6): - LED_NP[i] = (255,255,255, 255) - LED_NP.write() - time.sleep(1) + #for i in range(6): + # LED_NP[i] = (255,255,255, 255) + #LED_NP.write() + #time.sleep(1) while True: ctr += 1 # run one iteration of control loop last_action_start = controlloop(last_action_start, next_action) - if time.time() > last_pixel_update + 0.5: - #LED_NP[ctr % 6] = (ctr*3 % 255, ctr*2 % 255, (ctr+1)*3 % 255) - last_pixel_update = time.time() - LED_NP.write() + #if time.time() > last_pixel_update + 0.5: + # #LED_NP[ctr % 6] = (ctr*3 % 255, ctr*2 % 255, (ctr+1)*3 % 255) + # last_pixel_update = time.time() + # LED_NP.write() a = None try: