JUST TO PRINT 'm'
void setup(){
Serial.begin(9600);//enables rx,tx pins at 0
}
void loop(){
Serial.println("m"); // diff between println and print is next line and same line
delay(1000);
}
FINAL LCD CODE WITH BACK SPACE
void setup(){
Serial.begin(9600);
}
void loop()
{
char a;
int c=0;
while (c<16) {
if ( Serial.available() > 0)
{
a=Serial.read();
if (a=='`')
{
Serial.write(12);
c=0;
}
else
{
Serial.println(a, BYTE);
c=c+1;
}
}
}
c=148;
while (c<164) {
if ( Serial.available() > 0)
{
Serial.write(c);
a=Serial.read();
if (a=='`') //backspace
{
Serial.write(12);
c=164;
}
else
{
Serial.println(a, BYTE);
c=c+1;
}
}
}
}