jim hamblen
/
Pushbutton_BadBounce_Interrupt
Pushbutton demo using interrupts with switch contact bounce
Revision 1:6582c095e8d1, committed 2011-10-06
- Comitter:
- 4180_1
- Date:
- Thu Oct 06 00:55:26 2011 +0000
- Parent:
- 0:7db73d1dc65f
- Commit message:
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 7db73d1dc65f -r 6582c095e8d1 main.cpp --- a/main.cpp Thu Oct 06 00:18:44 2011 +0000 +++ b/main.cpp Thu Oct 06 00:55:26 2011 +0000 @@ -10,7 +10,6 @@ // no external PullUp resistor needed // Pushbutton from P8 to GND. // A pb hit generates an interrupt and activates the interrupt routine -// after the switch is debounced // Global count variable int volatile count=0;