PxMatrix icon indicating copy to clipboard operation
PxMatrix copied to clipboard

GetPixel

Open Aircoookie opened this issue 5 years ago • 3 comments

Awesome job on the library! Thank you!

I've noticed this function isn't implemented:

// Does nothing for now
  uint8_t getPixel(int8_t x, int8_t y);

What are the challenges/hurdles if one was to properly implement the function? In my application I'd like to shift pixels around (for example set a pixel to the color of its left neighbor). For that, getPixel() is essential if I don't want to use an auxiliary buffer array that would cost at least 4kb (64x32 x 2 byte) additional RAM. I'll understand should there be obvious reasons why this isn't (easily) possible, just asking.

Aircoookie avatar Oct 30 '18 21:10 Aircoookie