Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M5 Stack Core2 Touchscreen unexpected Values #228

Open
haipas opened this issue Sep 16, 2023 · 0 comments
Open

M5 Stack Core2 Touchscreen unexpected Values #228

haipas opened this issue Sep 16, 2023 · 0 comments

Comments

@haipas
Copy link

haipas commented Sep 16, 2023

Hello,

I have the problem, that when I enable the touchscreen in the Core2 I get unexpected values.
I get the following log output.

2023-09-16 11:53:34 I (00:00:01.629) FT6X36:    Device ID: 0x00
2023-09-16 11:53:34 I (00:00:01.633) FT6X36:    Chip ID: 0x0f
2023-09-16 11:53:34 I (00:00:01.638) FT6X36:    Device mode: 0x01
2023-09-16 11:53:34 I (00:00:01.642) FT6X36:    Firmware ID: 0x00
2023-09-16 11:53:34 I (00:00:01.647) FT6X36:    Release code: 0x00
2023-09-16 11:53:34 I (02:00:01.654) MAIN: Init complete
2023-09-16 11:53:40 V (02:00:08.594) FT6X36: X=3584 Y=128
2023-09-16 11:53:44 V (02:00:11.741) FT6X36: X=3584 Y=128
2023-09-16 11:53:48 V (02:00:15.933) FT6X36: X=512 Y=128
2023-09-16 12:00:12 V (02:06:40.414) FT6X36: X=1792 Y=384
2023-09-16 12:00:13 V (02:06:41.466) FT6X36: X=1792 Y=384
2023-09-16 12:00:15 V (02:06:43.566) FT6X36: X=3584 Y=128
2023-09-16 12:00:18 V (02:06:45.664) FT6X36: X=768 Y=385
2023-09-16 12:00:20 V (02:06:47.725) FT6X36: X=0 Y=128
2023-09-16 12:00:22 V (02:06:49.866) FT6X36: X=0 Y=128
2023-09-16 12:00:26 V (02:06:54.027) FT6X36: X=512 Y=128

I expected values between for x between 0 and 320 and for y 0 and 280. The values are also not really related to the position on the screen, it looks to me that the values are random.
To be sure that this issue is not hardware related, I tested everything on two different hardware modules.
The Original M5 Stack Software Displays correct data on the screen. I also tried an Arduino example from the library m5gfx this shows also the correct touch values.

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant