mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-13 13:01:55 +03:00
Update setCursor.ino
Changedfrom (thisRow, thisCol) to lcd.Setcursor(thisCol, thisRow). It was an error.
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user