Merge pull request #2069 from alignan/pull/light-example-verbatim

Explicitly specify light sensor model in example
master-31012017
George Oikonomou 2017-01-15 11:52:09 +00:00 committed by GitHub
commit 82fd325b7a
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,9 @@
#define MOTION_SENSOR_PIN 5
#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) */
#define BME280_CONF_ADDR 0x76