Struggle – Finding TFT Lcd driver
Successful TFT Lcd driver identified
The TFT used in the tutorial is shown below.
Arduino TFT project code
Functions defined in the code – purpose and meaning
IndexRegister() Specifying the index of the register.
CommandData() Sending Commands and Data to TFT Driver.
fastDisplay() Displaying Data on lcd very Fast.
TftPaint() Painting TFT with the Specified Color.
PaintLcd() Calling the TftPAint() Function.
In the Loop function i am filling TFT with colours. Colors are filled in Horizontal and vertical directions. According to the data sheet which says you can display text on TFT in eight directions.
The configuration of display is set in the register 03 of the driver. For full description of register 03 please read the datasheet.
Filed Under: Arduino, Microcontroller Projects