Thanks Mike.
The problem is that the keyboard is a matrix one that is scanned to see which key was pressed. This complicates the case...
Ioannis
Thanks Mike.
The problem is that the keyboard is a matrix one that is scanned to see which key was pressed. This complicates the case...
Ioannis
Maybe you could use a Timer to mask recently pressed buttons. When PORTB.4 IOC triggers, disable the IOC Interrupt for that pin, start your 50 ms Timer, then in the Timer ISR restore all IOC Interrupts, regardless of which one you disabled for the mask.
I am not sure why you mention the portb.4 bit but regardless, the idea to use timer is good. Thanks.
Matrix keyboard is more complicated in that aspect, also if sleep is also involved.
Ioannis
Bookmarks