arduino with touch screen to achieve handwrite
use the Arduino to control the ITDB02-2.4 display , and used the touch screen to achieve handwrite function.
|
The LCD connection is the same as that in “ITDB02-2.4 8Bit Mode Demo“, and the touch screen connection is : DCLK to D14(A0) pin of Arduino
CS to D15(A1) pin of Arduino
DIN to D16(A2) pin of Arduino The display code is the same as we have released , now we just give a brief introduction of SPI and touch IC control. SPI Start: void spistar() void WriteCharTo7843(unsigned char num) } } SPI Read Data function: unsigned int ReadFromCharFrom7843() void AD7843(void) Note : ITDB02 the touch and LCD is 3V3 , so if you want to use the Arduino 5V pin to connect it , reduction voltage and limiting current part is necessary . You can find more information and whole project here: http://iteadstudio.com/application-note/itdb02-touch-screen-handwrite-demo |
ImagesFilesLinks |
