Add to UTFT library, getPixelColor function

You can add the function uint16_t UTFT::getPixelColor(uint16_t x, uint16_t y) to the UTFT library (UTFT - Rinky-Dink Electronics) Or at least give full instructions on how to add it.

Display based: ILI9341.

Connected to: Arduino Mega 2560.

Via shield: TFT LCD Mega Shield v2.2
(Touch LCD Shield для TFT01 дисплеев, Arduino Mega)

The function should quickly get the color of a pixel on the screen at x, y coordinates. Only by means of the UTFT library.

Perhaps I can, but why I would doing that?

I didn't ask the right question, I'm using Google translator. Can you help make this feature?

Most displays haven't this function. In that case the only way to get a color from a tft display is to mantain a fullsize screen buffer, that will requires a much memory than a Uno or even Mega has.

I read the documentation, this display seems to support it.


This question seems more appropriate for the Paid consultancy section. If you agree, I can move your thread there.

Most likely no. I'll try myself.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.