CP5 button bug help, need to double click?
in
Contributed Library Questions
•
9 months ago
Some background: I'm using a switch/case statement as menu screens in my program. I have buttons to navigate through, and I've made these using the cp5 button controller. On screen 4, I have 2 buttons, which work perfectly the first time you see them. When I loop my program back around (through screens 1-3), when I get to screen 4 again the buttons do not work on the first click! They always work on the second click though. I have no idea what could be causing this bug... Is there some way to reset the buttons or something? I'll paste bits of program if needed but not sure which bits might be relevant.
Any help would be great! This sounds like a small issue but I will be timing the user response, so it's important the button always works first click.
Thanks :)
1