Charles Tritt / Mbed 2 deprecated TrafficEx

Dependencies:   mbed

Fork of TimeoutEx by Charles Tritt

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.