Startup tutorial – maybe the best LCD (ITDB)
The 3.2” TFT BL-TFT240320PLUS LCD (with SD slot and touchpad) is one the most popular product in our store, the cheap price, easy to use (compatible with arduino) , large size, multiple functions including SD slot and touchpad enable it to be the best choice for your project. You can find it in our store only $14.5! Here.
If you feel it too difficult to start or you just want to test it first, you can use the test code, follow the pin connections in the code file, you can start it immediately.
Or we start to use the ITDB02_Graph16 library, write any pictures or text on your screen.
Due to the 16 bits configuration on the screen board, you should wire 16 pins between the display and Arduino, this also has a faster speed than just 8 bits. The data lines connection should looks:
Secondly, don’t forget the control lines to your arduino : Reset – pin 16, CS – pin 17, WR – pin 18, RS – pin 19, LEDA – V3.3, VCC – VCC, GND – GND.
and now comment and uncomment the pins definitions in the codes of ITDB02_Graph16, you should be able to see things on your screen!
Comments (4)
Nor test code neither library are available. File paths seem incorrect (“not found”)
Whats going on?
ITDB02_Graph16_ViewFont.pde:-1: error: ‘ITDB02’ does not name a type
ITDB02_Graph16_ViewFont.cpp: In function ‘void setup()’:
ITDB02_Graph16_ViewFont.pde:-1: error: ‘myGLCD’ was not declared in this scope
ITDB02_Graph16_ViewFont.pde:-1: error: ‘LANDSCAPE’ was not declared in this scope
ITDB02_Graph16_ViewFont.cpp: In function ‘void loop()’:
ITDB02_Graph16_ViewFont.pde:-1: error: ‘myGLCD’ was not declared in this scope
ITDB02_Graph16_ViewFont.pde:-1: error: ‘CENTER’ was not declared in this scope
make sure library is installed correctly, and selected for the demo project and if it references wprogram.h change it to arduino.h.
It took a bit of googling, but it works when you do it right.
These displays are memory hogs. Animations would need a faster micro.