Im trying to understand how to talk to my display, i can send raw text, but there is no way to keep track of positioning etc. without some hex codes for positioning and stuff.. can you help me please?
the scd400 pdf is at :
Im trying to understand how to talk to my display, i can send raw text, but there is no way to keep track of positioning etc. without some hex codes for positioning and stuff.. can you help me please?
the scd400 pdf is at :
Its all in section B.
define a set of functions you can call, I will give two, so you can do the other ones. If it works you might build a library from it.
Instead of Serial you could also use NewSoftSerial ...
void setBaud()
{
Serial.print(0x04); //0x is for defining hex numbers
Serial.print(0x01);
Serial.print(0x42);
Serial.print(0x31); //9600 baud
Serial.print(0x4E);
Serial.print(0x17);
}
void setPosition(int x, int y) // x=0..19 y = 0..1
{
Serial.print(0x04);
Serial.print(0x01);
Serial.print(0x50);
Serial.print(0x31 + x + y*16);
Serial.print(0x17);
}