Hi,
I have a working setup, and everything works fine.
I have one question though:
With Circuitpython, is it possible to access / use RGB colors - > eg: (155, 10, 122) for a pixel?
I want to be able to set all pixels to certain RGB colors in a loop, instead of the simple integer -> palette in all Adafruit examples.
Is that possible? Or only available when work with C / C ++ and other libraries like fastLED etc?
Thanks in advance,
Marcelo
Matrix M4 + 64 + 32 Matrix
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- handful
- Posts: 3
- Joined: Sun Jul 17, 2022 12:42 pm
Re: Matrix M4 + 64 + 32 Matrix
Have a simpler way of asking the question:
Is there an equivalent to matrix.drawPixel(x,y,0,0,0) in Python?
Thanks Folks!
M
Is there an equivalent to matrix.drawPixel(x,y,0,0,0) in Python?
Thanks Folks!
M
- adafruit_support_carter
- Posts: 29158
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Matrix M4 + 64 + 32 Matrix
In general, no. You'll need to setup the colors in a palette and then use the palette indices to set the pixel colors:
https://learn.adafruit.com/circuitpytho ... raw-pixels
https://learn.adafruit.com/circuitpytho ... raw-pixels
- handful
- Posts: 3
- Joined: Sun Jul 17, 2022 12:42 pm
Re: Matrix M4 + 64 + 32 Matrix
Ok Thanks!
I will jump to other libraries then, I don't think it will be wise to do a massive array for that :)
Best
Marcelo
I will jump to other libraries then, I don't think it will be wise to do a massive array for that :)
Best
Marcelo
Please be positive and constructive with your questions and comments.