periph icon indicating copy to clipboard operation
periph copied to clipboard

environment: transfer and adapt Env and SenseEnv from physic into Weather and SenseWeather

Open maruel opened this issue 7 years ago • 1 comments

As part of this work, make it use context.Context.

The addition of the new packages can be done seamlessly in v3.5.0, but the removal of physic.Env and physic.SenseEnv is a breaking change.

maruel avatar Jan 14 '19 18:01 maruel

If the new methods are named SenseWeather() and SenseWeatherContinuous(), we can have the driver supports both for v3.5.0 which will be less disruptive for users.

maruel avatar Jan 17 '19 14:01 maruel

Ported to https://github.com/periph/conn/issues/28.

maruel avatar Sep 18 '23 20:09 maruel