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.
Revision 5:f7e87403aca4, committed 2021-10-27
- Comitter:
- mgimple
- Date:
- Wed Oct 27 16:14:14 2021 +0000
- Parent:
- 4:90f9fff2e44e
- Commit message:
- changing debounce timer
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Oct 21 14:19:43 2021 +0000 +++ b/main.cpp Wed Oct 27 16:14:14 2021 +0000 @@ -23,7 +23,7 @@ void toggle() { - if (debounce.read_ms()>200) { //only allow toggle if debounce timer + if (debounce.read_ms()>400) { //only allow toggle if debounce timer LEDOut1=!LEDOut1; //has passed 200ms debounce.reset(); //restart timer when toggle is performed }