Loading...
Searching...
No Matches

Detailed Description

Macros

#define CONFIG_OPT3001_I2C_ADDRESS   (0x45)
 OPT3001 Default Address.
 
#define CONFIG_OPT3001_CONVERSION_TIME   OPT3001_CONVERSION_TIME_800_MS
 OPT3001 Default conversion time.
 

Macro Definition Documentation

◆ CONFIG_OPT3001_CONVERSION_TIME

#define CONFIG_OPT3001_CONVERSION_TIME   OPT3001_CONVERSION_TIME_800_MS

OPT3001 Default conversion time.

If set to 0x0000, the conversion time will be 100ms. If set to 0x0800, the conversion time will be 800ms

Definition at line 89 of file opt3001.h.

◆ CONFIG_OPT3001_I2C_ADDRESS

#define CONFIG_OPT3001_I2C_ADDRESS   (0x45)

OPT3001 Default Address.

If set to 0x45 the ADDR PIN should be connected to VDD. For more information on SerialBus Address, refer section 7.3.4.1 in datasheet.

Definition at line 73 of file opt3001.h.