GroupA / Mbed 2 deprecated WaG_final

Dependencies:   mbed

Fork of Lab_6_WaG by GroupA

Revision:
35:ad2b3d6f0e5a
Parent:
31:0dc2b4a3eee6
Child:
74:8881f4aeb174
--- a/utility.cpp	Thu Mar 22 16:11:56 2018 +0000
+++ b/utility.cpp	Thu Mar 22 16:41:11 2018 +0000
@@ -21,6 +21,17 @@
 
 extern DigitalIn my_button;
 
+/*
+ * int uti_chk_ubutton();
+ * Description: returns true when button is pressed and released
+ *
+ * Inputs: 
+ *      Parameters:
+ *      Globals:
+ *      
+ * Outputs:
+ *      Returns: void
+*/
 int uti_chk_ubutton() {
     if (my_button == 0)
         return 0; // exits if button is not pressed