1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

frdm-k64f: Add FXOS8700CQ configuration

This commit is contained in:
Joakim Nohlgård 2018-06-27 21:41:03 +02:00
parent 1e395aeee7
commit 8163e285ac

View File

@ -55,6 +55,14 @@ extern "C"
#define LED2_TOGGLE (GPIOB->PTOR = LED2_MASK)
/** @} */
/**
* @name FXOS8700CQ 3-axis accelerometer and magnetometer bus configuration
* @{
*/
#define FXOS8700_PARAM_I2C I2C_DEV(0)
#define FXOS8700_PARAM_ADDR 0x1E
/** @} */
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/