homework 7

Dependencies:   mbed-rtos mbed C12832_lcd LM75B

Files at this revision

API Documentation at this revision

Comitter:
gatedClock
Date:
Thu Sep 12 16:35:45 2013 +0000
Parent:
89:290c96cd027f
Child:
91:b54500888b67
Commit message:
clear start/stop buttons once they've been recognised in FSM.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Sep 12 15:33:32 2013 +0000
+++ b/main.cpp	Thu Sep 12 16:35:45 2013 +0000
@@ -489,6 +489,14 @@
           }               
                 
         }
+        else                                    // no queue update available.
+        {
+          dButtonStart   = 0;
+          dButtonStop    = 0;
+//        dDoorOpen      = 0;   
+        
+        
+        }
  
                                                 // fetch from global scope.
         dRemainingTime = giRemainingTime.dRemainingTime;