Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: KellerDruck_pressure PID PWM-Coil-driver Sensirion_SF04 VL6180
Fork of HSPFLOW1 by
main.cpp
- Committer:
- 212600191
- Date:
- 2017-08-02
- Revision:
- 6:c20cf19f7d9b
- Parent:
- 5:8e47d5323647
- Child:
- 7:fb77fbe65357
File content as of revision 6:c20cf19f7d9b:
#include "main.h"
int main()
{
pc.baud(115200);
//t1.start();
//pc.printf("Serenity Starting up...");
while (true) {
//float t= t1.read_ms();
High_Speed_Pressure = analog_value.read(); //
High_Speed_Pressure = High_Speed_Pressure*100*(14.69/8.6); // Calibrate value to 1atm
//mainflow.Measure(FLOW);
pc.printf("%.02f\n", High_Speed_Pressure);
//pc.printf("Hello\r");
//pc.printf("%0.02fpsi raw: %u %.02f", High_Speed_Pressure, mainflow.flow.u16, t);*/
wait(.0001);
}
}
