|
|
|
@ -51,8 +51,7 @@ type Display interface {
|
|
|
|
|
|
|
|
|
|
|
|
// Environment represents measurements from an environmental sensor.
|
|
|
|
// Environment represents measurements from an environmental sensor.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Deprecated: This interface will be removed in v3. Use physic.Environment
|
|
|
|
// Deprecated: This interface will be removed in v3. Use physic.Env instead.
|
|
|
|
// instead.
|
|
|
|
|
|
|
|
type Environment struct {
|
|
|
|
type Environment struct {
|
|
|
|
Temperature Celsius
|
|
|
|
Temperature Celsius
|
|
|
|
Pressure KPascal
|
|
|
|
Pressure KPascal
|
|
|
|
@ -61,7 +60,7 @@ type Environment struct {
|
|
|
|
|
|
|
|
|
|
|
|
// Environmental represents an environmental sensor.
|
|
|
|
// Environmental represents an environmental sensor.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Deprecated: This interface will be removed in v3. Use physic.Environmental
|
|
|
|
// Deprecated: This interface will be removed in v3. Use physic.SenseEnv
|
|
|
|
// instead.
|
|
|
|
// instead.
|
|
|
|
type Environmental interface {
|
|
|
|
type Environmental interface {
|
|
|
|
conn.Resource
|
|
|
|
conn.Resource
|
|
|
|
|