So i'm trying to move the cursor in order to modify only one character to avoid clearing the screen at every loop.
So i read the documentation of my screen, but I don't succeed in using the set cursor command.
Wasn't it considerate of them to include a few programming examples in their 'Complete Documentation'?
The 'Serial.write(3)' just tells the controller that you want to set the cursor position. You also have to tell it exactly where you want to put the cursor. My guess is that you have to include two more bytes after the '3' to specify the line and the column.
floresta:
Wasn't it considerate of them to include a few programming examples in their 'Complete Documentation'?
The 'Serial.write(3)' just tells the controller that you want to set the cursor position. You also have to tell it exactly where you want to put the cursor. My guess is that you have to include two more bytes after the '3' to specify the line and the column.
LCD.write(3); // Prepare the screen to receive two bytes wich will be the line and the column
LCD.write(1); //On line one
LCD.write(2); // On column two