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

45 lines
571 B
Arduino
Raw Normal View History

2020-11-27 05:33:55 -05:00
//
// FILE: heatIndex_test.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// DATE: 2020-04-04
2021-12-28 13:11:26 -05:00
2020-11-27 05:33:55 -05:00
#include "temperature.h"
uint32_t start;
uint32_t duration1;
volatile float hi;
2021-12-28 13:11:26 -05:00
2020-11-27 05:33:55 -05:00
void setup()
{
Serial.begin(115200);
Serial.println(__FILE__);
Serial.println(heatIndex(100, 50), 2);
start = millis();
for (int t = 40; t < 110; t++)
{
for (int hum = 1; hum < 100; hum++)
{
hi = heatIndex(t, hum);
}
}
duration1 = millis() - start;
Serial.println(duration1);
Serial.print("Done...");
}
2021-12-28 13:11:26 -05:00
2020-11-27 05:33:55 -05:00
void loop()
{
}
2021-12-28 13:11:26 -05:00
2020-11-27 05:33:55 -05:00
// -- END OF FILE --
2021-12-28 13:11:26 -05:00