Estimated completion time:
20-30 minutes
Electronic Systems: The Robot & The Codes (Page 75-78)
The content of this link is NOT for an OLED screen but for an LCD screen. They use different coding and libraries.
To change text, you only need to repeat the following each time the text changes:
oledDisplay( 2, 0, 0);
display.println(".............");
display.println(".............");
display.println(".............");
display.display( );
Example:
void loop( ) {
oledDisplay( 2, 0, 0);
display.println(".............");
display.println(".............");
display.println(".............");
display.display( );
delay (1000);
oledDisplay( 2, 0, 0);
display.println("ABCDE");
display.println("ABCDE");
display.println("ABCDE");
display.display( );
delay (1000);
}
(P/S: This is not the complete code)