Jul-31-2020, 10:55 PM
ahh, you're correct. Your code was working all along.
I just realised one button press is divided to the push and releasing of the button:
push:
BTN_TR
SYN_REPORT
release:
BTN_TR
SYN_REPORT
So if I push it down, it switches to the next mode. Upon releasing it switches again.
That was my mistake. Your code works great!
I just realised one button press is divided to the push and releasing of the button:
push:
BTN_TR
SYN_REPORT
release:
BTN_TR
SYN_REPORT
So if I push it down, it switches to the next mode. Upon releasing it switches again.
That was my mistake. Your code works great!