Mirembe Jean d'Amour / Mbed 2 deprecated ASSIGNMENT_PART4

Dependencies:   mbed

Revision:
3:a1263051d681
Parent:
2:a98660025857
diff -r a98660025857 -r a1263051d681 main.cpp
--- a/main.cpp	Sun Nov 01 12:09:22 2020 +0000
+++ b/main.cpp	Sun Nov 01 12:21:50 2020 +0000
@@ -16,7 +16,7 @@
             trafficYellowlight=0;  //switch off yellow light
              }
              if(!trafficYellowlight){
-                 trafficYellowlight=!pedestrainButton;  // Yellow light reamin switched OFF
+                 trafficYellowlight=!pedestrainButton;  // Yellow light reamin switched OFF but once button is pressed to be OFF Yellow light will be ON
              }
         
              wait_ms(500);