Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strip Led is not working #30

Open
kabcasa opened this issue Dec 18, 2020 · 6 comments
Open

Strip Led is not working #30

kabcasa opened this issue Dec 18, 2020 · 6 comments
Assignees
Labels
grove.py Label for grove.py UAY Unassigned yet

Comments

@kabcasa
Copy link

kabcasa commented Dec 18, 2020

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)

print("led mode {} {} {}".format(str(r),str(g),str(b)))
led.show()

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()

@tang295
Copy link

tang295 commented Feb 3, 2021

in grove.py there's an example grove_ws2813_rgb_led_strip.py, does this one work?

@kabcasa
Copy link
Author

kabcasa commented Feb 3, 2021

i test it also it's the same the led doesn't switch on

@Chunchun-tian
Copy link

Can this help you

@Chunchun-tian
Copy link

@bradnielsen2981
Copy link

Same, Im trying to work out with the LED Strip. 1. Which Grove Port do you plug into? Why does it mention PIN when it's using a Grove Shield.

@MatthewJeffson MatthewJeffson added UAY Unassigned yet grove.py Label for grove.py labels Oct 9, 2024
@is-qian
Copy link
Contributor

is-qian commented Oct 18, 2024

Sorry for the late reply. Is there any new progress on this issue? Have you tried it on the latest version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
grove.py Label for grove.py UAY Unassigned yet
Projects
Status: In Progress
Development

No branches or pull requests

6 participants