Question 1 for Embed Lab

Dependencies:   mbed

Revision:
2:c82fdcdbcab2
Parent:
1:780300dcee8d
--- a/main.cpp	Sat Aug 21 09:14:59 2021 +0000
+++ b/main.cpp	Sat Aug 21 22:33:05 2021 +0000
@@ -1,5 +1,8 @@
  // My first program did not have an interrupt and as a result sometime it would
  // display the button twice. this was resolved by the use on an interrupt.
+ //     A hardware option to control debouncing would be the use of a capacitor
+ // this will allow for a smooth switch. For a software solution an interrupt is
+ // used for debouncing.
  
  #include "mbed.h"
 Serial pc (USBTX, USBRX);