|
Forum Index : Microcontroller and PC projects : GUI CALIBRATE info
| Author | Message | ||||
| panky Guru Joined: 02/10/2012 Location: AustraliaPosts: 1116 |
Can anyone tell me what the five numeric fields reported by GUI CALIBRATE represent? > gui calibrate Done. No errors Deviation X = 2, Y = 0 (pixels) > option list GUI CALIBRATE 0, 3966, 125, -898, 644 > Doug ... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it! |
||||
| phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2831 |
Just a guess, ignoring the zero, perhaps they are decimal versions of the combined X-Y correction factors for the 4 targets. eg x = high byte Y = low byte of 2 byte number. Just speculation though. |
||||
| Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3308 |
The numbers are correction factors used by MMBasic to translate the numbers generated by the touch controller chip into pixel coordinates. They mean nothing outside of this. For what it is worth they represent (in order of listing) Swap XY Coordinates if True, X Zero, Y Zero, X Scaling and Y Scaling. The line GUI CALIBRATE 0, 3966, 125, -898, 644 can be used to configure the touch on an LCD panel from within a BASIC program (see page 70 of the current Micromite User Manual. Geoff Geoff Graham - http://geoffg.net |
||||
| panky Guru Joined: 02/10/2012 Location: AustraliaPosts: 1116 |
Thanks Phil and Geoff, Doug. ... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it! |
||||
Grogster![]() Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9757 |
I also was interested in this. Thanks for the info. Smoke makes things work. When the smoke gets out, it stops! |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8297 |
If I make a note of the calibration values for a working lcd panel can I simply enter them when a new version of the software is loaded or when that panel is used again? Edited 2021-06-29 17:58 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3308 |
Yes, just use GUI CALIBRATE at the command prompt. I have found that the same calibration settings will work with most displays of the same type. Geoff Graham - http://geoffg.net |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8297 |
Thanks, Geoff. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |