Explicitly specify light sensor model in example
This commit is contained in:
parent
6aaf1c356c
commit
999b246fd2
|
@ -50,6 +50,9 @@
|
||||||
#define MOTION_SENSOR_PIN 5
|
#define MOTION_SENSOR_PIN 5
|
||||||
#define MOTION_SENSOR_VECTOR GPIO_A_IRQn
|
#define MOTION_SENSOR_VECTOR GPIO_A_IRQn
|
||||||
|
|
||||||
|
/* Specify the digital light sensor model to use: TSL2561 (default) or TSL2563 */
|
||||||
|
#define TSL256X_CONF_REF TSL2561_SENSOR_REF
|
||||||
|
|
||||||
/* Use the following I2C address for the BME280 sensor (from MikroElektronika) */
|
/* Use the following I2C address for the BME280 sensor (from MikroElektronika) */
|
||||||
#define BME280_CONF_ADDR 0x76
|
#define BME280_CONF_ADDR 0x76
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue