I tried the sample app you suggested. Unfortunately, it still goes into the not pressed routine while the button is pressed.I found a solution like this. I have defined a variable in the touchscreen driver software to the state where it stays pressed...
My electronic board is a custom board. I don't think there is a problem with the led control, because I can flash the led in other algorithms. There are 10 different screen views, dozens of buttons, pictures, etc. in my project. My software is almost...
I didn't use repeatButton. But I also tried the repeatButton, it didn't work.As long as the button is pressed, the LED does not stay on.My Parameter_Setting ViewParameter_SettingView.hpp#ifndef PARAMETER_SETTINGVIEW_HPP
#define PARAMETER_SETTINGVIEW_...
I updated the software as you suggested. When I press the button, the led turns on but immediately goes out. Even though I keep the button pressed, it enters the "Led off" part. So as long as the button is pressed, the led does not stay on. I'm debug...
Thanks for your quick answer. Yes, I added the RepeatButton.cpp software as follows, but it didn't work at all.void RepeatButton::handleTickEvent(){ Button::handleTickEvent(); if (!pressed) { Long_Press_Control = 0; // esbenimu return; } if ...