Skip to content

Imperial units doesn't seem to be working #12

@cbitterfield

Description

@cbitterfield
 // 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions