megan gimple / Mbed 2 deprecated OCE360_Final_Project

Dependencies:   mbed MMA8452Q MS5837 SDFileSystem SCI_SENSOR

Revision:
5:17f2b3e61112
Parent:
4:d87b1e40d419
Child:
6:5f55105701ac
--- a/main.cpp	Tue Nov 30 14:53:07 2021 +0000
+++ b/main.cpp	Tue Nov 30 15:08:01 2021 +0000
@@ -47,9 +47,13 @@
 
 //IMU related
 void accel_update(); //update accelerometer related variables. we use imu_ticker to call this function
+
 //Control related functions
 void thrust_on(float pw, float on_time);  //input is pulse width
 
+//Control Parameters
+float on_time = 5; //on for 5 seconds part one
+
 //-------------Main functions-----------------------------------------------------------------------------------------
 int main()
 {
@@ -80,6 +84,7 @@
     wait(1);
     while(1)
     {
+      
       // put your main control code here
     }