mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
36 lines
638 B
C++
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 --
|