-
-
Save furkanbakkal/3bca32a22ad09ae0e6ed384a62187e30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from neopixel import Neopixel | |
import time | |
numpix = 12 #number of neopixel leds | |
strip = Neopixel(numpix, 0, 0, "GRB") | |
color = (0, 255, 255) #specify colour as RGB | |
strip.brightness(25) #brigtness of neopixels led | |
for i in range(numpix): | |
strip.set_pixel(i, color) #setpixel(lednumber, colour) | |
strip.show() #show | |
time.sleep(sleep_time) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment