Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (6 sloc) 205 Bytes
int F_MS5611()
{
long realPressure = ms5611.readPressure();
float relativeAltitude = ms5611.getAltitude(realPressure, referencePressure);
return((int)relativeAltitude*10); //devuelve centimetros
}
You can’t perform that action at this time.