Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 07:52 17 Apr 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Touch cannot be calibrated  with loadable driver MM+  v5.5.02

Author Message
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 842
Posted: 01:04pm 14 Aug 2019
Copy link to clipboard 
Print this post

I have a loadable driver for an ILI9341_P16 from sometime ago, was working on 5.1 last time I used it.

I upgraded to 5.0502 beta6 and reloaded the driver.
The screen works OK to display.
The OPTION TOUCH 51, 33 is accepted,
but when GUI CALIBRATE is tried it returns
Display not configured, so can't be calibrated, and GUI INTERRUPT also returns
Display not configured.

I figured it must be looking for a display type , which the loadable driver is not setting.
I entered OPTION LCDPANEL USER, 320, 240 and it then allowed
GUI CALIBRATE
(Its actually a CSUB driver)

and error about MM.DRAWRECTANGLE not found (something like that) was returned initially but the touch is now working with the loadable driver


Does a loadable driver now need to set a display type or something in the initalisation that was not previously required?




> option list
OPTION LCDPANEL USER 0, 0
OPTION TOUCH 51, 33
GUI CALIBRATE 0, 3786, 3745, -916, -681


Gerry
Edited 2019-08-14 23:07 by disco4now
Latest F4 Latest H7
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8563
Posted: 01:44pm 14 Aug 2019
Copy link to clipboard 
Print this post

  Quote  Does a loadable driver now need to set a display type or something in the initalisation that was not previously required?


Yes

I've updated some of my drivers but I'm sure I will get reports of this

Just include:

   Option->DISPLAY_TYPE=20;


somewhere in the driver initialisation
Edited 2019-08-15 00:43 by matherp
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024