megan gimple / Mbed 2 deprecated OCE360_Final_Project

Dependencies:   mbed MMA8452Q MS5837 SDFileSystem SCI_SENSOR

Revision:
27:e0943cb83251
Parent:
26:379bc50f5f23
Child:
28:55b04fb61809
--- a/main.cpp	Wed Dec 08 19:17:39 2021 +0000
+++ b/main.cpp	Wed Dec 08 19:35:16 2021 +0000
@@ -93,6 +93,7 @@
     //Part One
     int count=0;
     while(count<3) {
+        led3=1;
         count=count+1;
         float pw= percent;
         float on_time =tim;
@@ -103,7 +104,7 @@
     //Part Two
     timer2.start();
     while(1) {
-
+        led3=0;
         float current_depth=p_sensor.depth();
         float pw=percent;
         float on_time=3;