Accessing getPixel in Adafruit_GFX #354
-
This is more of a language question, how would I get access to the getPixel method in the Adafruit GFX lib? I need the ability to get the "current state" of the matrix, which pixels have which colors. Regardless though, thank you for this project. It got my matrix up and running great with no flicker. |
Beta Was this translation helpful? Give feedback.
Answered by
mrcodetastic
Dec 21, 2022
Replies: 1 comment 1 reply
-
That is not possible with this library as there is no 'buffer' of the pixel data once split into pulses of light sent to the physical panel. You will need to setup your own temporary pixel buffer to store this information. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sigmaprojects
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That is not possible with this library as there is no 'buffer' of the pixel data once split into pulses of light sent to the physical panel.
You will need to setup your own temporary pixel buffer to store this information.