***UNUSUAL CALIBRATION RANGES*** (Mcufriend.kbv)

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.

Have you even thought of checking the code to see when it is printed?

    if (abs(x_range) > 500 && abs(y_range) > 650) //LANDSCAPE
        return;
    sprintf(buf, "\n*** UNUSUAL CALIBRATION RANGES %d %d", x_range, y_range);

When the X range is over 500 and the Y range is over 650, you are fine.
Otherwise you get this message.
Your X range is 10, and the Y range is 12.
Did you touch in the same area instead of the four corners?

I thought that I am supposed to touch in the red button in the middle, which was what I did,

And I did check that code, but it was 3 months ago, soo I kinda forgot

The red block which says "PRESS" in white letters? It is not a button, just instruction.
There should be a cross within a square in each corner. You press the one colored in white and hold until it turns red and the center block says "RELEASE". Then go to the next white crosshair.

THANKS SOOO MUCH! It worked!
Apparently I'm dumb

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.