Modifying examples to use Serial.write() instead of Serial.print(BYTE).

This commit is contained in:
David A. Mellis
2011-02-26 13:57:41 -05:00
parent a5ac9a7aa7
commit eecd3b3f43
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -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);
} }
} }