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.
Fork of TimeoutEx by
Diff: main.cpp
- Revision:
- 2:2c03f9b6d286
- Parent:
- 1:2438293c128c
- Child:
- 3:439f58e558e5
--- a/main.cpp Mon Oct 09 02:34:12 2017 +0000 +++ b/main.cpp Mon Oct 09 02:44:42 2017 +0000 @@ -1,5 +1,5 @@ /* - Project: TimeOutEX + Project: TimeoutEX File: main.cpp Button interrupt sets global config flag. Timeout clears it.Main program @@ -41,7 +41,7 @@ config = true; // Set config status. grnLED = 0; // Force green junction off. redLED = 1; // Turn red junction on. - configTime.attach(&configOff, 5.0f); // Register TimeOut callback. + configTime.attach(&configOff, 5.0f); // Register callback. 5 sec. delay. } void configOff() { // Clears config flag after timeout.