You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
559 B
15 lines
559 B
void GxepdPage0()
|
|
{Serial.println("Page0");
|
|
display.setRotation(2);
|
|
display.fillScreen(GxEPD_WHITE);
|
|
display.drawExampleBitmap(BitmapExample1, 0, 0, GxEPD_WIDTH, GxEPD_HEIGHT, GxEPD_BLACK);
|
|
//display.println(rlst ? sizeString : "SD:N/A");
|
|
int16_t x1, x2;
|
|
uint16_t w, h;
|
|
String str = GxEPD_BitmapExamplesQ;
|
|
str = str.substring(2, str.lastIndexOf("/"));
|
|
display.getTextBounds(str, 0, 0, &x1, &x2, &w, &h);
|
|
display.setCursor(display.width() - w - 5, display.height() - 15);
|
|
display.println(str);
|
|
display.update();
|
|
}
|
|
|