You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using GROVE BASE HAT RPI with Grove - RGB Led ring (16-WS2813 Mini)
On Rpi 3B Buster version
The Led are on PWM slot .
i can't get the leds switch on
and no error message is given
code :
from grove.i2c import Bus
from rpi_ws281x import PixelStrip
from time import time, sleep
from grove.gpio import GPIO
from RPi import GPIO as io
def light_led(led, pix, r, g, b):
for pixel in range(pix):
led.setPixelColorRGB(pixel, r, g, b)
using GROVE BASE HAT RPI with Grove - RGB Led ring (16-WS2813 Mini)
On Rpi 3B Buster version
The Led are on PWM slot .
i can't get the leds switch on
and no error message is given
code :
from grove.i2c import Bus
from rpi_ws281x import PixelStrip
from time import time, sleep
from grove.gpio import GPIO
from RPi import GPIO as io
def light_led(led, pix, r, g, b):
for pixel in range(pix):
led.setPixelColorRGB(pixel, r, g, b)
led20 = PixelStrip(16, 12) # Grove RGB led connected to grove PWM
led20.begin()
light_led(led20, 16, 55, 0,0)
sleep(5)
light_led(led20, 16, 0, 55, 0)
sleep(5)
led20._cleanup()
The text was updated successfully, but these errors were encountered: