You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question: I noticed a number of 1024 and 1023 in the TouchScreen library and wonder if it is related to an assumption of a 10 bit A/D (i.e. Arduino 8-bit)? I am using the library with a SAMD51 part (Grand Central) and notice that the values tend to be much higher on the pressure.
I came to the exact same conclusion for the ESP32-S2 wich have an ADC of 13 bits.
If you chage the 6 instances of the number 1023 with the #bits^2 (8191 in my case) it should work.
Question: I noticed a number of 1024 and 1023 in the TouchScreen library and wonder if it is related to an assumption of a 10 bit A/D (i.e. Arduino 8-bit)? I am using the library with a SAMD51 part (Grand Central) and notice that the values tend to be much higher on the pressure.
Adafruit_TouchScreen/TouchScreen.cpp
Line 155 in 28e6e74
The text was updated successfully, but these errors were encountered: