Documentation ¶
Overview ¶
Package BH1750FVI allows interfacing with the BH1750FVI ambient light sensor through I2C.
Index ¶
Constants ¶
View Source
const ( High = "H" High2 = "H2" )
accuracy = sensorValue/actualValue] (min = 0.96, typ = 1.2, max = 1.44
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BH1750FVI ¶
BH1750FVI represents a BH1750FVI ambient light sensor.
func NewHigh2Mode ¶
NewHighMode returns a BH1750FVI sensor on high resolution mode2 (0.5lx resolution)
func NewHighMode ¶
NewHighMode returns a BH1750FVI sensor on high resolution mode (1lx resolution)
Click to show internal directories.
Click to hide internal directories.