Autoformat 3D print Neopixel Gas Mask
MODIFY
3D_Printed_NeoPixel_Gas_Mask/3D_Printed_NeoPixel_Gas_Mask.py
3D_Printed_NeoPixel_Gas_Mask/3D_Printed_NeoPixel_Gas_Mask.py
@@ -41,7 +41,8 @@ while True: # Loop forever...
strip.write() # Refresh LED states
time.sleep(0.04) # 40 millisecond delay
offset += 1 # Shift animation by 1 pixel on next frame
- if offset >= 8: offset = 0
+ if offset >= 8:
+ offset = 0
# Additional animation modes could be added here!
t = time.monotonic() # Current time in seconds

Autoformat 3D print Neopixel Gas Mask