Checkpoint 7: Learn to control the motors via feedback from the pressure sensor.
This is where it gets fun. You now need to take your program that read information from the pressure sensor and turn it into a program that runs your motors. You want to make the program so that the thruster move in one direction if the pressure is larger than average (where you get to define average) and in the other direction if the pressure is smaller than average.
Measure the pressure sensor and compare that value with the desired value.
Step 2: If Pdesired > Pactual then run motor one way.
If Pdesire < Pactual then run motor the other way.
If Pdesire = Pactual turn motor off