Skip to content

Visual glitches upon touch input #16

@Volcano339

Description

@Volcano339

I'm using a Teensy 4.1 with a display using the default pins.
Whenever I touch the center of the display, the screen starts having weird artifacts (colors inverted, image misaligned and repeated, flickering, and usually a white screen after the others).

Sometimes, I don't even need to touch the display (this usually happens if any pin other than PIN_BACKLIGHT is set to 255).
When this is the case, the display usually alternates between a white screen and another white screen with gray horizontal stripes.

This happens with every demo except for touch calibration.

The visual problems go away after rebooting (as long as you don't use touch again).

This is the sketch where the screen goes white if you touch the center:
https://gist.github.com/Volcano339/621a4a85d2d7d4b0491ddec014bf92fb

I don't know if this is a hardware issue or not, but the fact that the glitches go away after rebooting suggests to me that it is more likely a software issue.

If you think it is a hardware issue, feel free to ask questions about the hardware.
This might just be a simple hardware mistake.

Any help is appreciated!

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