Red Light Work

Fork of realtimeMMLib by Graham Nicholson

Revision:
2:ed0430db9b2b
Parent:
1:b80e5f26b233
--- a/MBedStation.cpp	Mon Oct 02 15:24:52 2017 +0000
+++ b/MBedStation.cpp	Thu Feb 15 16:17:25 2018 +0000
@@ -5,7 +5,7 @@
 #include <cstdint>
 
 
-MBedStation::MBedStation() :light_1(LED2), light_2(LED4)
+MBedStation::MBedStation() :light_1(p17), light_2(LED4)
 {
     
 }
@@ -33,7 +33,7 @@
     MBedStation::sensors[2] = sensor2;
     sensor_2 = sensor2;    
     
-    DigitalOut light1(LED2);
+    DigitalOut light1(p17);
     light_1 = light1;
     
     DigitalOut light2(LED4);