Go Down

Topic: uLCD-144 4D problem with Duemilanove (Read 3 times) previous topic - next topic

a.periz

Hi,
I have a uLCD-144 from 4D. It works without problems with an arduino Mega2560, but it fails with Duemilanove.
It is very simple to manage: it uses serial communication to send some specific command. For instance, to inizialize it you have to send 0x55 and it should respond with 0x06 (ACK).
I wrote a simple sketch that send 0x55 and wait for something from serial and in the mega2560 it works, but in duemilanove doesn't.
I can't understand why...

Thank you!

Andrea

GaryP

The only law for me; Ohms Law: U=R*I       P=U*I
Note to self: "Damn! Why don't you just fix it!!!"

a.periz

Sorry :)

Code: [Select]
void setup()
{
   Serial.begin(9600);
   delay(1000);
   
   Serial.write(0x55);
   while(!Serial.available());
   Serial.print(Serial.read(), HEX);
}

void loop()
{
}


GaryP

Then it must be physical coneection problem, or broken device.

Kari
The only law for me; Ohms Law: U=R*I       P=U*I
Note to self: "Damn! Why don't you just fix it!!!"

a.periz

I agree...
but the same display works with the same code in the mega2560. And I tried it with two duemilanove and it doesn't work...

Thank you

Andrea

Go Up