RGB led raspberry pi 4 on base hat

November 11, 2023, 15:57

celinedwy

Hello, I'm a student in computer science and we got a project on a raspberry pi. My group and I decided to do a connected lamp so we asked for RGB led and they gave us 2 chainable rgb led v2.0. but from what we looked it work with grovepi but we don't have it. I don't know how to make the RGB led change color or even turn off and the teacher doesn't help us. I tried to use the code of the grovepi but we don't have the di_i2c library which is used everywhere in the code. The other RGB led works on a white board and 4pin so it doesn't help. I'm totally new and don't know what to do, so if there is someone that would be willing to help, I'll be grateful.

oops.se

You need to figure out what type " 2 chainable rgb led v2.0" is!

celinedwy

I don't really understand what you meant. What my teacher gave me is to of this

oops.se

https://wiki.seeedstudio.com/Grove-Chainable_RGB_LED/ there you can find what type of LED it is. And then you can investigate further in how to use it. FYI I am a old teacher 😉

celinedwy

The problem is that on this page they use a grovepi? Which I don't have and I don't really understand how to make it use with another way

oops.se

Yes I know and did you read what I wrote?