Initial Mbed v. 5 version. Demonstrates ISR using two LED junctions, one blinking and one toggling.

Files at this revision

API Documentation at this revision

Comitter:
CSTritt
Date:
Sun Oct 17 15:50:50 2021 +0000
Parent:
108:5621bbcc10f5
Commit message:
Added circuit/wiring instructions.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sun Oct 17 15:29:28 2021 +0000
+++ b/main.cpp	Sun Oct 17 15:50:50 2021 +0000
@@ -6,7 +6,13 @@
     continuously. Blue junction will toggle in response to depressing the user 
     button.
     
-    Created by Dr. C. S. Tritt
+    Circuit (common cathode RGB LED needed)
+    
+    Connect green junction anode to D3.
+    Connect blue junction anode to D4.
+    Connect common cathode to common (ground).
+    
+        Created by Dr. C. S. Tritt
     Last revised: 10/17/21 (v. 1.0)
 */
 #include "mbed.h"