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.
Diff: main.cpp
- Revision:
- 5:f7e87403aca4
- Parent:
- 4:90f9fff2e44e
--- 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
}
