GY-63_MS5611/libraries/Temperature/examples/heatindexC_test/heatindexC_test.ino

45 lines
597 B
Arduino
Raw Normal View History

2020-11-27 05:33:55 -05:00
//
// FILE: heatindexC_test.ino
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// PURPOSE: demo
// DATE: 2020-04-04
2021-01-29 06:31:58 -05:00
2020-11-27 05:33:55 -05:00
#include "temperature.h"
2021-01-29 06:31:58 -05:00
2020-11-27 05:33:55 -05:00
uint32_t start;
uint32_t duration1;
volatile float hi;
void setup()
{
Serial.begin(115200);
Serial.println(__FILE__);
Serial.println(heatIndexC(25, 50), 2);
start = millis();
for (int cel = 10; cel < 80; cel++)
{
for (int hum = 1; hum < 100; hum++)
{
hi = heatIndexC(cel, hum);
}
}
duration1 = millis() - start;
Serial.println(duration1);
Serial.print("Done...");
}
void loop()
{
}
// -- END OF FILE --