Go Down

Topic: Software serial help (Read 699 times) previous topic - next topic


Hi, i´m having some problems with this.
I controling a serial lcd, and I need to set character position, in hardware serial I use Serial.write(254);  Serial.write(202);   to write special characters, but this is not suported by software serial, how can I write this as a single byte and not "254" in text

Tanks :)


Could you make a two-character string, set the first character (byte) to the value you need, and print a string?

Code: [Select]
char str[2];

str[0] = 254;
str[1] = '\0';

// Send 'str' to the LCD


...That or you should be able to define the data type as per the reference manual matey


Go Up