Drawing Geometric Shapes on a TFT Display, Using the ILI9341 as an Example.
The algorithms for drawing geometric shapes on a TFT display were covered earlier here, so in this article I'll just give the implementation of the functions for the ILI9341. To fill the screen with the desired color in the previous article, we used the TFT_Fill_Screen() function; the same function can fill a rectangle or square of the required size if you set the coordinates of the working...