Skip to content

Imperial units doesn't seem to be working #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cbitterfield opened this issue Jan 1, 2021 · 0 comments
Open

Imperial units doesn't seem to be working #12

cbitterfield opened this issue Jan 1, 2021 · 0 comments
Labels
type: imperfection Perceived defect in any part of project

Comments

@cbitterfield
Copy link

cbitterfield commented Jan 1, 2021

 // Get Environment Shield Values
  temperature = ENV.readTemperature();
  humidity    = ENV.readHumidity();
  barometer   = ENV.readPressure(PSI);
  illuminance = ENV.readIlluminance(FOOTCANDLE);
  uva         = ENV.readUVA();
  uvb         = ENV.readUVB();
  uvIndex     = ENV.readUVIndex();

Putting "temperature = ENV.readTemperature(FAHRENHEIT);" creates a hung condition and lockup.

Also barometric pressure is reading 13.42 at less than 1000' MSL so that appears to be non-imperial.

Results from above settings:
"uva": -0.82, "uvb": -4.45, "uv_index": -0.01, "air_temp": 23.70, "humidity": 13.43, "barometer": 13.43, "light": 147.15,

Barometric Pressure today in Las Vegas is:
Barometer 30.06 in. 763.5 mm - Rising
Humidity 32%
Temperature is correct.

@per1234 per1234 added the type: imperfection Perceived defect in any part of project label Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants