Thx for the reply's already but what i'm trying to do is simulate a serial.println() for my IoBridge Serial LCD (it doens't support serial.println(); )
so actualy i whanted to do it like this
This code wil be runned when a key gets pressed
int keycount = 5;
i++;
if (i<5){
keycount++
moveCursor("01", keycount);
serial.print(key);
}
I hope you get the idea what i'm trying to do