Merge pull request #3 from joncar/user/joncar/minor-typos

Fix minor typos.
This commit is contained in:
David Zovko 2020-07-17 08:41:38 +02:00 committed by GitHub
commit 533413195c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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
} }

View File

@ -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{

View File

@ -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