Initial version. Illuminates the LED when the user button is held down. Otherwise, the LED is off. Variation on 21_Button_v5.

Files at this revision

API Documentation at this revision

Comitter:
CSTritt
Date:
Tue Oct 05 13:22:20 2021 +0000
Parent:
110:6360f8487c16
Commit message:
Cleaned up comments. Added version number starting at v. 1.0.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Oct 05 12:52:54 2021 +0000
+++ b/main.cpp	Tue Oct 05 13:22:20 2021 +0000
@@ -1,11 +1,11 @@
 /*
-Project: 21_ButtonImproved_v5
+Project: 21_ButtonImproved_v5 (Button/LED Demo)
 File: main.cpp
 
 Turns LED1 on when USER_BUTTON is held down. Otherwise LED1 is off.
 
 Modified 12 Aug 2017 by Dr. Sheila Ross
-Last revised 10/5/21 by Dr. C. S. Tritt
+Last revised 10/5/21 by Dr. C. S. Tritt (v. 1.0)
 */
 
 #include "mbed.h"