|
|
@ -78,6 +78,8 @@ void mainTask(void * params) |
|
|
|
display.setTextSize(4); |
|
|
|
#if defined(INKPLATE_6) |
|
|
|
display.print("Welcome to Inkplate 6!"); |
|
|
|
#elif defined(INKPLATE_6PLUS) |
|
|
|
display.print("Welcome to Inkplate 6PLUS!"); |
|
|
|
#else |
|
|
|
display.print("Welcome to Inkplate 10!"); |
|
|
|
#endif |
|
|
@ -318,6 +320,8 @@ void mainTask(void * params) |
|
|
|
// place you want to write someting next
|
|
|
|
#if defined(INKPLATE_6) |
|
|
|
display.print("INKPLATE 6!"); |
|
|
|
#elif defined(INKPLATE_6PLUS) |
|
|
|
display.print("INKPLATE 6PLUS!"); // The actual text you want to show on e-paper as String
|
|
|
|
#else |
|
|
|
display.print("INKPLATE 10!"); |
|
|
|
#endif |
|
|
@ -335,6 +339,8 @@ void mainTask(void * params) |
|
|
|
display.setCursor(200, 300 + (i * i * 8)); |
|
|
|
#if defined(INKPLATE_6) |
|
|
|
display.print("INKPLATE 6!"); |
|
|
|
#elif defined(INKPLATE_6PLUS) |
|
|
|
display.print("INKPLATE 6PLUS!"); // The actual text you want to show on e-paper as String
|
|
|
|
#else |
|
|
|
display.print("INKPLATE 10!"); |
|
|
|
#endif |
|
|
@ -406,9 +412,11 @@ void mainTask(void * params) |
|
|
|
display.setRotation( |
|
|
|
r); // Set rotation will sent rotation for the entire display, so you can use it sideways or upside-down
|
|
|
|
#if defined(INKPLATE_6) |
|
|
|
display.print("INKPLATE 6!"); |
|
|
|
display.print("INKPLATE 6"); |
|
|
|
#elif defined(INKPLATE_6PLUS) |
|
|
|
display.print("INKPLATE 6PLUS"); // The actual text you want to show on e-paper as String
|
|
|
|
#else |
|
|
|
display.print("INKPLATE 10!"); |
|
|
|
display.print("INKPLATE 10"); |
|
|
|
#endif |
|
|
|
display.display(); |
|
|
|
delay(5000); |
|
|
|