Felix HARERIMANA / Mbed 2 deprecated LORACODES

Dependencies:   mbed

Revision:
1:18bf4c2c22ec
Parent:
0:392dea3408f2
Child:
2:602c96685466
--- a/main.cpp	Sun Nov 01 13:01:46 2020 +0000
+++ b/main.cpp	Sun Nov 01 13:08:01 2020 +0000
@@ -1,12 +1,13 @@
-##include "mbed.h"
-DigitalOut trafficYellowlight(p7);// declaration of Pin 7 as output 
-DigitalIn pedestrainButton(p8);  // declaration of Pin 8 as Input  
+#include "mbed.h"
+DigitalOut trafficYellowlight(p7);
+DigitalIn pedestrainButton(p8);
 int main() {
     while(1) 
     {
         
-         trafficYellowlight=0;
+         trafficYellowlight=1;
         trafficYellowlight=!pedestrainButton;
              wait_ms(5000);
                }
-         }
\ No newline at end of file
+         }
+