Skip to content
Snippets Groups Projects
Commit 8bf944c4 authored by kYc0o's avatar kYc0o
Browse files

Merge pull request #4820 from cgundogan/pr/pba-01-k-k2wx/add_sensors_info_to_board.h

pba-01-d-kw2x: add sensors to board.h
parents 0a65d8c5 ddb111df
No related branches found
No related tags found
No related merge requests found
...@@ -82,6 +82,54 @@ extern "C" ...@@ -82,6 +82,54 @@ extern "C"
#define KW2XRF_SHARED_SPI 0 #define KW2XRF_SHARED_SPI 0
/** @}*/ /** @}*/
/**
* @name Define the interface for the HDC1000 humidity sensor
* @{
*/
#define HDC1000_I2C (I2C_0)
#define HDC1000_ADDR (0x43)
/** @} */
/**
* @name Define the interface for the MAG3110 magnetometer sensor
* @{
*/
#define MAG3110_I2C (I2C_0)
#define MAG3110_ADDR (0x0E)
/** @} */
/**
* @name Define the interface for the MMA8652 tri-axis accelerometer sensor
* @{
*/
#define MMA8652_I2C (I2C_0)
#define MMA8652_ADDR (0x1D)
/** @} */
/**
* @name Define the interface for the MPL3115A2 pressure sensor
* @{
*/
#define MPL3115A2_I2C (I2C_0)
#define MPL3115A2_ADDR (0x60)
/** @} */
/**
* @name Define the interface for the TCS3772 light sensor
* @{
*/
#define TCS37727_I2C (I2C_0)
#define TCS37727_ADDR (0x29)
/** @} */
/**
* @name Define the interface for the TMP006 IR-Termopile sensor
* @{
*/
#define TMP006_I2C (I2C_0)
#define TMP006_ADDR (0x41)
/** @} */
/** /**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO * @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment