Explicitly specify light sensor model in example

This commit is contained in:
Antonio Lignan 2017-01-14 22:53:28 +01:00
parent 6aaf1c356c
commit 999b246fd2

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