InterruptIn demonstration based on T &W's Example 9.1

Dependencies:   mbed

Revision:
1:e731e5467ab1
Parent:
0:3151531e9a31
--- a/main.cpp	Fri Oct 06 21:08:45 2017 +0000
+++ b/main.cpp	Mon Oct 09 14:51:26 2017 +0000
@@ -7,7 +7,7 @@
     button.
     
     Created by Dr. C. S. Tritt
-    Last revised: 10/6/17 (v. 1.0)
+    Last revised: 10/6/17 (v. 1.1)
 */
 #include "mbed.h"
 
@@ -16,7 +16,7 @@
 DigitalOut bluLED(D4); // Bluee and green LED junctions.
 DigitalOut grnLED(D3);
 
-void myISR() { // Simple ISR toggles the red LED junction when called.
+void myISR() { // Simple ISR toggles the blue LED junction when called.
     bluLED = !bluLED; // Toggle blue junction.
 }