Hi everyone, I’m having trouble getting started with the Blinkt LED device. If I run the following:
from blinkt import set_pixel, set_brightness, show, clear
import time
clear()
set_pixel(1, 0, 255, 0)
show()
time.sleep(1)
I don’t get any lights at all when the program runs.
However if I instead run this:
from blinkt import set_pixel, set_brightness, show, clear
while True:
set_pixel(0, 0, 0, 255, brightness=0.7)
show()
I get a light show like this:
This is on a Pi 3 with a fresh install of raspberry pi os and Python 3.7.3 IDLE. Any advice?
2 posts - 2 participants