Fix minor typos.
This commit is contained in:
parent
4eef8b557f
commit
8338a13478
|
@ -29,7 +29,7 @@ void setup() {
|
||||||
display.clearDisplay(); //Clear any data that may have been in (software) frame buffer.
|
display.clearDisplay(); //Clear any data that may have been in (software) frame buffer.
|
||||||
//(NOTE! This does not clean image on screen, it only clears it in the frame buffer inside ESP32).
|
//(NOTE! This does not clean image on screen, it only clears it in the frame buffer inside ESP32).
|
||||||
display.clean(); //Clear everything that has previously been on a screen
|
display.clean(); //Clear everything that has previously been on a screen
|
||||||
display.setTextColor(0,7,); display.setCursor(150, 320); display.setTextSize(4); display.print("Welcome to Inkplate 6!"); display.display(); //Write hello message
|
display.setTextColor(0,7); display.setCursor(150, 320); display.setTextSize(4); display.print("Welcome to Inkplate 6!"); display.display(); //Write hello message
|
||||||
delay(5000); //Wait a little bit
|
delay(5000); //Wait a little bit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ void loop() {
|
||||||
display.clearDisplay(); //Clear content in frame buffer
|
display.clearDisplay(); //Clear content in frame buffer
|
||||||
display.setCursor(offset, 300); //Set new position for text
|
display.setCursor(offset, 300); //Set new position for text
|
||||||
display.print(text); //Write text at new position
|
display.print(text); //Write text at new position
|
||||||
if(n>9) { //Check if you need to do full refresh or you can do partial update
|
if(n>9) { //Check if you need to do full refresh or you can do partial update
|
||||||
display.display(); //Do a full refresh
|
display.display(); //Do a full refresh
|
||||||
n = 0;
|
n = 0;
|
||||||
}else{
|
}else{
|
||||||
|
|
|
@ -39,7 +39,7 @@ void setup() {
|
||||||
display.setFont(&DSEG14Classic_Regular20pt7b); //Select second font
|
display.setFont(&DSEG14Classic_Regular20pt7b); //Select second font
|
||||||
display.setCursor(0, 250); //Set print position on X = 0, Y = 250
|
display.setCursor(0, 250); //Set print position on X = 0, Y = 250
|
||||||
display.println("Some old-school 14 segment"); //Print text
|
display.println("Some old-school 14 segment"); //Print text
|
||||||
display.println("display font on e-papaer");
|
display.println("display font on e-paper");
|
||||||
display.print("display");
|
display.print("display");
|
||||||
|
|
||||||
display.setFont(); //Use original 5x7 pixel fonts
|
display.setFont(); //Use original 5x7 pixel fonts
|
||||||
|
|
Loading…
Reference in New Issue