boards/pba-d-01-kw2x: map tcs37727 to SAUL devices

pr/rotary
Hauke Petersen 6 years ago
parent 470f2de771
commit 7ad342ca2d

@ -5,4 +5,5 @@ endif
ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += mma8x5x
USEMODULE += hdc1000
USEMODULE += tcs37727
endif

@ -112,8 +112,9 @@ extern "C"
* @name Define the interface for the TCS3772 light sensor
* @{
*/
#define TCS37727_I2C (I2C_DEV(0))
#define TCS37727_ADDR (0x29)
#define TCS37727_PARAMS { .i2c = I2C_DEV(0), \
.addr = 0x29, \
.atime = TCS37727_PARAM_ATIME }
/** @} */
/**

Loading…
Cancel
Save