Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dev ¶
type Dev struct {
// contains filtered or unexported fields
}
Dev is a handle to an initialized SGP30 device.
func NewI2C ¶
NewI2C returns an object that communicates over I2C to SGP30 environmental sensor.
The address must be 0x58.
func (*Dev) AirQuality ¶
AirQuality return the value struct for the sensor
Click to show internal directories.
Click to hide internal directories.