The configuration the driver writes, with the part in shutdown.
Checks the part is an OPT3001 and writes the settings with the part in shutdown. Rejects when nothing answers or another part does.
Runs one conversion and resolves with the illuminance, initializing the part first if
init has not run.
Writes the low and high limits the part's interrupt pin compares each result against, in millilux.
A Texas Instruments OPT3001 driven over an I2C bus, measuring on demand in single-shot mode.