package
0.0.0-20191010152712-404ee0f46364
Repository: https://github.com/dchote/go-envirophat.git
Documentation: pkg.go.dev
# Functions
InitI2C creates a new i2c client and connects to the light sensor.
MaxCount returns the maximum value which can be counted by a channel with the chosen integration time.
Read gets the raw lux and rgb values from the sensors and returns a fully populated Reading which houses the data in a variety of formats.
SetIntegrationTimeMS sets the sensor integration time in milliseconds.
Valid reads the status on the light sensor and returns true if the device checks out.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Reading provides a complete look at the sensor data with a varieting of formats Raw* values is the raw uint16 data pulled from the sensor Normal* values are normalized to 0.0 - 1.0 against RawLux Red, Green, and Blue range from 0 - 255.
# Type aliases
No description provided by the author