Skip to content

Add a Celsius, Fahrenheit enum to the climate crate #54

@tcr

Description

@tcr

Some of us don't have backwards temperature systems, and so we should allow readings to be in whichever temperature system you prefer. Something like the following:

fn read_temperature(&mut self, temp: Temperature) { ... }

enum Temperature {
  Celsius,
  Fahrenheit
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions