Good information.
If I don't like to use the BUTTON command or WHILE/WEND artifices, it's because of this short pause that has to be artificially created to avoir the bouncing.
It sounds silly but I like to hear the button's "click" and see the display (or LED or any other action) react at the same time.
Instead of waiting for the button to debounce, wouldn't there be a solution to use the only the very first raising/falling edge of the signal and make the PIC ignore the following pulses for some milliseconds meanwhile it exectues the program?
Bookmarks