-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add absoluteHumidity + boiling functions (#20)
- add **absoluteHumidity(TC, RH)** from relative humidity - add **boilingFahrenheit(feet)** boiling temperature Fahrenheit at height in feet. - add **boilingCelsius(meter)** boiling temperature Celsius at height in meter. - add **boilingMeter(Celsius)** inverse function of above. - add example - update keywords.txt - update readme.md - update GitHub actions - update license 2023 - minor edits
- Loading branch information
1 parent
be2c0c5
commit 89155e6
Showing
9 changed files
with
221 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
// | ||
// FILE: boilingPoint_test.ino | ||
// AUTHOR: Rob Tillaart | ||
// PURPOSE: Demo for boiling point formula | ||
// URL: https://github.com/RobTillaart/Temperature | ||
// | ||
|
||
|
||
#include "temperature.h" | ||
|
||
uint32_t stop, start; | ||
|
||
|
||
void setup() | ||
{ | ||
Serial.begin(115200); | ||
Serial.println(__FILE__); | ||
Serial.print("TEMPERATURE_VERSION: "); | ||
Serial.println(TEMPERATURE_VERSION); | ||
Serial.println(); | ||
|
||
for (int meters = 0; meters < 5000; meters += 100) | ||
{ | ||
Serial.print(meters); | ||
Serial.print("\t"); | ||
Serial.print(boilingCelsius(meters)); | ||
Serial.print("\t"); | ||
Serial.print(boilingFahrenheit(meters * 3.2808)); | ||
Serial.print("\n"); | ||
} | ||
Serial.println(); | ||
|
||
|
||
for (int feet = 0; feet <= 15000; feet += 100) | ||
{ | ||
Serial.print(feet); | ||
Serial.print("\t"); | ||
Serial.print(boilingCelsius(feet * 0.3048)); | ||
Serial.print("\t"); | ||
Serial.print(boilingFahrenheit(feet)); | ||
Serial.print("\n"); | ||
} | ||
Serial.println(); | ||
|
||
|
||
for (float temp = 100; temp >= 80; temp -= 1) | ||
{ | ||
Serial.print(temp); | ||
Serial.print("\t"); | ||
Serial.print(boilingMeter(temp)); | ||
Serial.print("\n"); | ||
} | ||
Serial.println(); | ||
|
||
for (float temp = 100; temp >= 98; temp -= 0.1) | ||
{ | ||
Serial.print(temp); | ||
Serial.print("\t"); | ||
Serial.print(boilingMeter(temp)); | ||
Serial.print("\n"); | ||
} | ||
Serial.println(); | ||
|
||
} | ||
|
||
|
||
void loop() | ||
{ | ||
|
||
} | ||
|
||
|
||
// -- END OF FILE -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters