??? 02/05/06 22:25 Read: times |
#109252 - No if the debounce is post delay Responding to: ???'s previous message |
Fast enough is faster than the players can detect. Unless this is for Olympic scoring. Tripping on Button Interupt will gve top performance.
If he feels the need to debounce the delay should be after the button press. There is no point in checking for false presses. there should be none in this app. Yes THIS app could be written all in the interupts. I am not sure about the displays. Hatchi type LCD writes can be slow. If he adds bells and whisles later, it maybe a problem then. He can not write to the LCD in main and the interupts. Unless he adds a flag (semiphore). Peter try it both ways. The change is not that big. To be a good coder you must code. |