I am having this problem with a Touchscreen LCD Display.
Here is the serial:
`TouchScreen.h GFX Calibration
Making all control and bus pins INPUT_PULLUP
Typical 30k Analog pullup with corresponding pin
would read low when digital is written LOW
e.g. reads ~25 for 300R X direction
e.g. reads ~30 for 500R Y direction
Testing : (A2, D8) = 24
Testing : (A3, D9) = 33
ID = 0x9486
cx=550 cy=520 cz=467 X, Y, Pressure
cx=552 cy=526 cz=462 X, Y, Pressure
cx=537 cy=523 cz=447 X, Y, Pressure
cx=532 cy=527 cz=451 X, Y, Pressure
cx=576 cy=515 cz=464 X, Y, Pressure
cx=541 cy=525 cz=473 X, Y, Pressure
cx=559 cy=503 cz=458 X, Y, Pressure
cx=567 cy=501 cz=466 X, Y, Pressure
*** COPY-PASTE from Serial Terminal:
const int XP=8,XM=A2,YP=A3,YM=9; //320x480 ID=0x9486
const int TS_LEFT=545,TS_RT=555,TS_TOP=524,TS_BOT=512;
PORTRAIT CALIBRATION 320 x 480
x = map(p.x, LEFT=545, RT=555, 0, 320)
y = map(p.y, TOP=524, BOT=512, 0, 480)
LANDSCAPE CALIBRATION 480 x 320
x = map(p.y, LEFT=524, RT=512, 0, 480)
y = map(p.x, TOP=555, BOT=545, 0, 320)
*** UNUSUAL CALIBRATION RANGES 10 -12
`
First of all, I know that this is not right, but what exactly does ***** UNUSUAL CALIBRATION RANGES 10 -12 mean?**
I think that because of this, the Touchscreen doesn't work. I am on a mac with Apple M1, but it doesn't work also with Windows.
I am using an Arduino Uno, however, I have also tried Arduino Mega 2560, Still, doesn't work!
Please help, as I have already been troubleshooting for the past 5 months.
BTW, its Driver is ILI9486
If you need pictures, I will send pictures, I will try to be as informative as I can
Thanks in Advance.