-
Notifications
You must be signed in to change notification settings - Fork 23
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
Waveshare round 1.85 ESP32S3 LCD : failure to initialise touch #113
Comments
Hi @martinroger, The commit link you provided seems to be invalid. Regarding the following sentence in your description, is the TP's reset pin pulled high by default?
|
Hey @Lzw655 , I realised like an idiot that I left my repo private, I will change that asap. And yes in the meantime I have started suspecting that the expander constantly resets the touch. |
I think you can set ...
// Create IO Expander first (don't initialize it)
ESP_IOExpander *expander = new ESP_IOExpander_TCA95xx_8bit(...);
...
// Then create and initialize the panel
ESP_Panel *panel = new ESP_Panel();
panel->configExpander(expander); // Should be called before `init()`
panel->init();
panel->begin();
... |
Will try and report! |
By the way the commit and repo should be visible now. Will try the trick you suggested later. |
Update (and solution, I'ld say) in commit 4a2cc8a :
My ESP_Panel_Board_Custom.h :
... and the Serial monitor output :
|
@martinroger Thank you for your testing. Your solution is indeed better. Macros like If it's convenient, could you please contribute the relevant information for this development board to the library? You can refer to the documentation for guidance. |
@Lzw655 it is ultimately the intent, yes. This and a couple other boards! |
Thank you very much! |
PR #115 is out there ! |
Hi, I am trying to get the library to work on a Waveshare round lcd.
I can get the QSPI LCD to start just fine, however when I try to enable the CST816S it fails to read from it.
You can find the platformio project I set up for this (including special board JSON, lib_deps etc) and the commit where the QSPI works but the I2C fails to initialise : here
I have tried with and without pullups enabled (the schematic seems to indicate there are none on the circuit, and as far as I can tell this is a dedicated I2C line.
To note, the reset for the TP is on an IO Expander that I am currently not activating.
Obviously ultimately I can circumvent and initialise it all separately, but I like the all-in-one approach to the library. Am I missing something or ultimately am I forced to do a manual init / separate management of touch input?
The logs I get through serial, showing the initialisation fail :
My ESP_Panel_Board_Custom.h :
The text was updated successfully, but these errors were encountered: