Add neopixel control script

video
Your Name 5 years ago
parent 0feabe96e5
commit 5ec6b7a36a

@ -0,0 +1,8 @@
import time
import board
import neopixel
pixels = neopixel.NeoPixel(board.D18, 24)
def ledoff:
pixels.fill((0,0,0))
def ledon:
pixels.fill((255,255,235))
Loading…
Cancel
Save