Documentation
¶
Index ¶
- Variables
- func NewSensor(ctx context.Context, deps resource.Dependencies, conf resource.Config, ...) (sensor.Sensor, error)
- type ComponentConfig
- type Config
- func (c *Config) Close(ctx context.Context) error
- func (c *Config) Readings(ctx context.Context, extra map[string]interface{}) (map[string]interface{}, error)
- func (c *Config) Ready(ctx context.Context, extra map[string]interface{}) (bool, error)
- func (c *Config) Reconfigure(ctx context.Context, _ resource.Dependencies, conf resource.Config) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Description = "A sensor that reports the voltages of the Raspberry Pi."
View Source
var Model = resource.NewModel("viam-soleng", "raspi", "voltages")
View Source
var PrettyName = "Raspberry Pi Power Sensor"
View Source
var Version = utils.Version
Functions ¶
Types ¶
type ComponentConfig ¶
type ComponentConfig struct { }
Click to show internal directories.
Click to hide internal directories.