-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LVGL calibrate touch screen #14459
LVGL calibrate touch screen #14459
Conversation
COOL |
Yes, cool. The first app I ran on tasmota. Still it fails for me (AZ-Touch MOD). After running through all 4 screens and pressing the cross, the device reboots with flickering of a white screen screen and display.ini is not modified. When setting log level to 4, I still see some events like: |
Please provide full logs of the calibration process |
And please provide also your |
|
|
I am not sure if this is really the end of what could be logged; maybe some trailing lines have been lost due to reboot and lack of sync with the web console. Unfortunately it is not trivial to use serial log on that device, because there is a power conflict with the USB connector when the device is running with its own supply. |
Ah too bad. The interesting part was lost just before reboot. The I may have an idea why it failed. I need to do more tests tomorrow |
There is one circumstance to mention. In the few demo applications I have run so far, including the berry demo, the screen and colors locked "clean". But the white background of the calibration screen has some disturbance (dim black lines/patterns flickering a bit). I assume this is not related to the issue with calibration app, but you never know... |
I did some more tests and I can't reproduce. I can't explain the flickering either, DisplayCalibrate does nothing fancy except setting a white background |
I've not found docs about tapps yet. Are these just Berry scripts with their name mapped to a tasmota command? If so, maybe I could execute the calibration step by step over berry console to isolate where my device misbehaves. |
Description:
Tasmota Application useful for Touch Screen calibration (resistive touchscreens only). This application guides you through simple steps and generates automatically the required settings in
display.ini
(the ':M' line).Download here
First download
DisplayCalibrate.tapp
application and upload it in the file system, and restart.Make sure you are in orientation
DisplayRotate 0
In the console, type the command
DisplayCalibrate
You will see the following screens. Click on all 4 crosses near corners.
Note: measures are taken every 50 ms and are averaged, and requires at least 3 measures (150ms).
If everything went well, you will see the following screen. After reboot, your touchscreen is ready and calibrate.
If the geometry is wrong, you will see the following screen and no change is done to
display.ini
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass