Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: D7A_Demo-Get-started CVtoOSCConverter EE3501keypad D7A_Localisation ... more
Fork of DebouncedInterrupt by
Revision 11:af6d7dc34062, committed 2014-02-18
- Comitter:
- kandangath
- Date:
- Tue Feb 18 16:34:23 2014 +0000
- Parent:
- 10:cb16d2957f8d
- Child:
- 12:7022ffaa74f5
- Commit message:
- Add documentation
Changed in this revision
| DebouncedInterrupt.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/DebouncedInterrupt.h Tue Feb 18 16:32:33 2014 +0000
+++ b/DebouncedInterrupt.h Tue Feb 18 16:34:23 2014 +0000
@@ -5,7 +5,7 @@
/**
Example:
-InterruptIn up_button(p15);
+DebouncedInterrupt up_button(p15);
void onUp()
{
@@ -14,7 +14,7 @@
int main()
{
- DebouncedInterrupt upD(&onUp, &up_button, INT_FALL, 100);
+ up_button.attach(&onUp, INT_FALL, 100);
while(1) {
...
}
