mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-11 00:25:06 +00:00
Merge pull request #2069 from alignan/pull/light-example-verbatim
Explicitly specify light sensor model in example
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user