Modifying examples to use Serial.write() instead of Serial.print(BYTE).
This commit is contained in:
@@ -71,7 +71,7 @@ void loop() {
|
|||||||
thisChar = 'a';
|
thisChar = 'a';
|
||||||
}
|
}
|
||||||
// print the character
|
// print the character
|
||||||
lcd.print(thisChar, BYTE);
|
lcd.write(thisChar);
|
||||||
// wait a second:
|
// wait a second:
|
||||||
delay(1000);
|
delay(1000);
|
||||||
// increment the letter:
|
// increment the letter:
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ void loop() {
|
|||||||
// set the cursor position:
|
// set the cursor position:
|
||||||
lcd.setCursor(thisRow,thisCol);
|
lcd.setCursor(thisRow,thisCol);
|
||||||
// print the letter:
|
// print the letter:
|
||||||
lcd.print(thisLetter, BYTE);
|
lcd.write(thisLetter);
|
||||||
delay(200);
|
delay(200);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user