Documentation ¶
Overview ¶
Package mlx90615 implements reading of the MLX90615 sensor using Go.
Index ¶
Constants ¶
View Source
const ( RegisterAmbient = 0x26 RegisterObject = 0x27 RegisterEmissivity = 0x13 )
Appropriate registers for the MLX90615
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MLX90615 ¶
type MLX90615 struct {
// contains filtered or unexported fields
}
MLX90615 is the sensor itself
func NewMLX90615 ¶
NewMLX90615 returns new sensor instance
func (*MLX90615) ReadAmbientTemperature ¶
ReadAmbientTemperature returns the ambient temperature and an error value
func (*MLX90615) ReadEmissivity ¶
ReadEmissivity reads the emissivity of the MLX90615. Emissivity is a positive float no more than 1.00.
func (*MLX90615) ReadObjectTemperature ¶
ReadObjectTemperature returns the object temperature and an error value
Click to show internal directories.
Click to hide internal directories.