Hello,
I am new to this forum. I am French and do not have a good command of your language! Due to the fact I did not consult all the posts.
I am on a data display project and buttons on a sensitive TFT display and use the ILI9341esp library.
My question: after drawing a button and activating it, how do I deactivate it.
Thank you for your answers.
Good day.
Librairy ILI9341 and button
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Librairy ILI9341 and button
Are you using
That above can be set to false to disable it.
Code: Select all
buttonEnabled = true;
- LArsene
- Posts: 4
- Joined: Tue Nov 16, 2021 6:17 am
Re: Librairy ILI9341 and button
Hello,
Thanks, I'll do a test.
Thanks, I'll do a test.
- LArsene
- Posts: 4
- Joined: Tue Nov 16, 2021 6:17 am
Re: Librairy ILI9341 and button
Hello,
I failed to write the syntax correctly.
Right_Settings_button.initButton (false); does not work
Left_Adjustments_button.drawButton (false); works but does not initialize the button
Right_Settings_button.initButton (false); does not work either!
Thanks for your help.
I failed to write the syntax correctly.
Right_Settings_button.initButton (false); does not work
Left_Adjustments_button.drawButton (false); works but does not initialize the button
Right_Settings_button.initButton (false); does not work either!
Thanks for your help.
Please be positive and constructive with your questions and comments.