Skip to content

xtp Touch Screen #2

@x567234

Description

@x567234

I couldn't figure out how to set these:
XPT2046_ACCURACY XPT2046_REVERSED XPT2046_MIRROR_X XPT2046_MIRROR_Y 1
RAW_MIN_X 300 RAW_MAX_X 3800 OUT_MIN_X 0 OUT_MAX_X 479
RAW_MIN_Y 200 //400 RAW_MAX_Y 3750 OUT_MIN_Y 0 OUT_MAX_Y 319

I am using 3.5" TFT SPI 480x320. I am using it in landscape (width 480 x height 320). the Chip is ILI9488.
I am using STM32F767 nucleo board.
When I touch the screen the drawn pixel is not even close to where I touched.

Thank you

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