Skip to content

Problem with rotation on M5 PaperS3 #19

@sok63

Description

@sok63

When using FastEPD with the M5PaperS3 panel and setting the rotation to 270 degrees, the top area of the screen shows corrupted graphics.
It looks like a buffering or address mapping issue specific to 270° rotation, as 0°/90°/180° do not show this problem on the same hardware and sketch.​

Sketch to reproduce problem:


#include <FastEPD.h>

FASTEPD epd;

void setup()
{
    Serial.begin(115200);
    delay(1000);

    epd.initPanel(BB_PANEL_M5PAPERS3);
    epd.einkPower(1);
    delay(100);

    epd.setFont(FONT_8x8);
    epd.setTextColor(BBEP_BLACK, BBEP_WHITE);

    epd.setRotation(270);
    epd.fillScreen(BBEP_WHITE);
    epd.drawString("270 deg", 10, 10);
    
    epd.fullUpdate();
}

void loop()
{
    delay(1000);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions