Documentation
¶
Index ¶
- Variables
- type Driver
- func (d *Driver) Connection() gobot.Connection
- func (d *Driver) GetFirmwareVersion() (uint16, error)
- func (d *Driver) GetLevels() (reading Reading, err error)
- func (d *Driver) Halt() (err error)
- func (d *Driver) Name() string
- func (d *Driver) Reset() (err error)
- func (d *Driver) SetMeasurementInterval(interval time.Duration) error
- func (d *Driver) SetName(n string)
- func (d *Driver) Start() (err error)
- func (d *Driver) StartContinuousMeasurement() error
- type Reading
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrFailedChecksum = fmt.Errorf("failed checksum") ErrNaN = fmt.Errorf("invalid reading") )
Functions ¶
This section is empty.
Types ¶
type Driver ¶
A Driver for the SCD-30 CO2, Temperature, and Humidity sensor.
func (*Driver) Connection ¶
func (d *Driver) Connection() gobot.Connection
func (*Driver) GetFirmwareVersion ¶
func (*Driver) SetMeasurementInterval ¶
func (*Driver) StartContinuousMeasurement ¶
Click to show internal directories.
Click to hide internal directories.