todd-herbert / heltec-eink-modules

Third-party Arduino Library for Heltec E-Ink displays
21 stars 4 forks source link

Text inside DRAW() is scrambled, unless setCursor() is called #9

Closed todd-herbert closed 9 months ago

todd-herbert commented 9 months ago

Unacceptable

display.setCursor(5, 10);

DRAW(display) {
    display.println("Hello, World!");
}

Acceptable

DRAW(display) {
    display.setCursor(5, 10);
    display.println("Hello, World!");
}