I've got a "LCD Display 4 Inch SPI Screen (Touchscreen) - 480x320 Resolution 2". I've installed libraries LCDWIKI_SPI and LCDWIKI_TOUCH. The examples all do what they are supposed to as far as what gets displayed on the screen.
The problem I'm having is with the touch functionality. Where I touch and where Arduino thinks I touch seem to be mirrored. Correct me if I'm wrong but I've concluded that there's no actual x and y pins for the resistive layer. I guess it's decoded on the board and then sent through the SPI.
One thing that is odd is that when I run the "touch_screen_calibration" sketch, it responds correctly to where I press over the moving target and the numbers that it displays on the screen are very close to what is in the cali_para.h file. So whatever method that's used to figure out the location of the touch is different between the calibration sketch and ALL of the touch examples....which is weird. Help me please?
The problem I'm having is with the touch functionality. Where I touch and where Arduino thinks I touch seem to be mirrored. Correct me if I'm wrong but I've concluded that there's no actual x and y pins for the resistive layer. I guess it's decoded on the board and then sent through the SPI.
One thing that is odd is that when I run the "touch_screen_calibration" sketch, it responds correctly to where I press over the moving target and the numbers that it displays on the screen are very close to what is in the cali_para.h file. So whatever method that's used to figure out the location of the touch is different between the calibration sketch and ALL of the touch examples....which is weird. Help me please?