Using touch panel when rotation TFT display
Using touch panel when rotation TFT display
When I rotate the TFT display using TFT_Rotate_180(1); the touch panel doesn't work because it is upside-down. I have solved the problem swapping the hardware touch panel connections, but I would like to know if there is any way to solve it by software.
Re: Using touch panel when rotation TFT display
Hi,
You could use the following routine for the Touch Panel rotation :
Regards,
Filip.
You could use the following routine for the Touch Panel rotation :
Code: Select all
TP_TFT_Rotate_180(1);
Filip.
Re: Using touch panel when rotation TFT display
Thanks for your quick answer. I searched for this kind of function in MikroC help, but it is not documented.
Re: Using touch panel when rotation TFT display
Hi,
Yes, you are right, we will fix this.
I apologize for the inconvenience.
Regards,
Filip.
Yes, you are right, we will fix this.
I apologize for the inconvenience.
Regards,
Filip.
Re: Using touch panel when rotation TFT display
filip wrote:Hi,
Yes, you are right, we will fix this.
I apologize for the inconvenience.
Regards,
Filip.
Interesting Filip - this was in 2012 and we are now 2014 and this is still not fixed!
TP TFT library Help file still refers to void TP_TFT_Rotate(char) when it should be void TP_TFT_Rotate_180(char).
I wasted 30 mins on this today.
Re: Using touch panel when rotation TFT display
Hi,
This somehow slipped through our eyes, we have corrected this now, it will be ready for the next release.
Regards,
Filip.
This somehow slipped through our eyes, we have corrected this now, it will be ready for the next release.
Regards,
Filip.