GY-63_MS5611/libraries/Temperature/examples/windChill_test/windChill_test.ino
2022-01-09 20:35:35 +01:00

36 lines
638 B
C++

//
// FILE: windChill_test.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// DATE: 2022-01-09
#include "temperature.h"
void setup()
{
Serial.begin(115200);
Serial.println(__FILE__);
Serial.println(WindChill_F_mph (0, 10, true), 3);
Serial.println(WindChill_C_kmph(0, 10, true), 3);
Serial.println(WindChill_C_mps (0, 10, true), 3);
Serial.println(WindChill_C_kmph(-20, 5, true), 3);
Serial.println(WindChill_F_mph (0, 10, false), 3);
Serial.println(WindChill_C_kmph(0, 10, false), 3);
Serial.println(WindChill_C_mps (0, 10, false), 3);
Serial.print("Done...");
}
void loop()
{
}
// -- END OF FILE --