Skip to content

AtomDisplay has no width or height #128

@AcuarioCat

Description

@AcuarioCat

Hi,
I am trying to get my AtomDisplay HDMI working without success.
The factory demo worked fine.
I have tried the basic example but I get nothing.
The odd thing is the display says it has 0 width and height.

Here is my code:
`
#include <Arduino.h>

#include <M5AtomDisplay.h>
M5AtomDisplay display(1280, 720, 50); // width, height

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

// initialize
display.init();
Serial.printf("W:%d H:%d\n", display.width(), display.height());

`
The serial output shows W:0 H:0 so it seems the display is not initialised correctly.

The same occurs when I try the default (no parameters), both are 0.

Any idea why this is happening?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions