InterruptIn demonstration based on T &W's Example 9.1

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
CSTritt
Date:
Mon Oct 09 14:51:26 2017 +0000
Parent:
0:3151531e9a31
Commit message:
Fixed typo in comment.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 3151531e9a31 -r e731e5467ab1 main.cpp
--- 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.
 }