i would like to know if it exist more exemple than those in the link http://www.ladyada.net/products/tfttouchbreakout/,
because i start to understand how the screen can be used, how i can draw circle,rectangle,etc... but not the touch part (there is juste the paint exemple).
i want to know for exemple how to control a pin out of mega arduino, when i touch the screen?
is there different line of command for the touch part, like
for the display?void drawLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color);
If your lines are vertical or horizontal, you can call an optimized drawing function that doesn't do all the angular calculations.
void drawVerticalLine(uint16_t x0, uint16_t y0, uint16_t length, uint16_t color);
void drawHorizontalLine(uint16_t x0, uint16_t y0, uint16_t length, uint16_t color);
and is it described somewhere,how it work ?
thx