Hello everybody!
I bought this display and thought that it would be easier to control than other displays on the market. Oh boy was i wrong...
I am a novice with arduino but damn this thing makes me wanna cry

My problem is that i can't really do anything with the display since it doesn't respond to my programming..
Get touch screen status for example:
int incomingByte;
int lcdResetpin = 2;
int ledPin = 13;
void setup() {
pinMode(ledPin, OUTPUT);
pinMode(lcdResetpin, OUTPUT);
digitalWrite(lcdResetpin, LOW); //reset lcd screen.
delay(30);
digitalWrite(lcdResetpin, HIGH);
delay(1000);
Serial1.begin(9600); // initialize serial 1 communication:
Serial.begin(9600); // initialize serial communication:
delay(2000);
Serial1.print(0x55, BYTE); //Autobaud command
Serial1.print(0x59, BYTE); //Enable touch screen command
Serial1.print(0x05, BYTE);
Serial1.print(0x00, BYTE);
Serial1.print(0x56, BYTE); //version request command
Serial1.print(0x01, BYTE);
delay(2000);
}
void loop() {
Serial1.print(0x6F, BYTE); //Get touch screen status
Serial1.print(0x04, BYTE);
if (Serial1.available() > 0) {
incomingByte = Serial1.read();
Serial.println(incomingByte);
delay(100);
if (incomingByte == '2') {
digitalWrite(ledPin, HIGH);}
else{ digitalWrite(ledPin, LOW);
}}}
That just starts to throw weird characters to the serial monitor and the screen does not give any feedback = byte 2.
I know there are some libraries for different 4D Systems displays but i would like to learn to do something without using libraries that aren't really for this particular display.
- Timo