"""CircuitPython NeoPixel Blink example - blinking the built-in NeoPixels."""
import time
import board
import neopixel
pixels = neopixel.NeoPixel(board.NEOPIXEL, 4) #Number Of Lights Blinking
while True:
pixels.fill((255, 0, 0))
time.sleep(0.5) #Sleep Time Is In Seconds
pixels.fill((0, 0, 0))
time.sleep(0.5) #Sleep Time Is In Seconds
Some Different Colors That Can Be Made:
Red: (255, 0, 0)
Green: (0, 255, 0)
Blue: (0, 0, 255)
Cyan: (0, 255, 255)
Purple:(255, 0, 255)
Yellow:(255, 255, 0)
White: (255, 255, 255)
Black: (off): (0, 0, 0)