Merge pull request #2069 from alignan/pull/light-example-verbatim
Explicitly specify light sensor model in example
This commit is contained in:
commit
82fd325b7a
|
@ -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