mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-26 20:54:22 +01:00
Update setCursor.ino
Changedfrom (thisRow, thisCol) to lcd.Setcursor(thisCol, thisRow). It was an error.
This commit is contained in:
parent
8e0a311e87
commit
87865ac19d
@ -60,7 +60,7 @@ void loop() {
|
|||||||
// loop over the rows:
|
// loop over the rows:
|
||||||
for (int thisRow = 0; thisRow < numCols; thisRow++) {
|
for (int thisRow = 0; thisRow < numCols; thisRow++) {
|
||||||
// set the cursor position:
|
// set the cursor position:
|
||||||
lcd.setCursor(thisRow,thisCol);
|
lcd.setCursor(thisCol,thisRow);
|
||||||
// print the letter:
|
// print the letter:
|
||||||
lcd.write(thisLetter);
|
lcd.write(thisLetter);
|
||||||
delay(200);
|
delay(200);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user