mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
frdm-k22f: Add FXOS8700CQ configuration
This commit is contained in:
parent
0689f69ddd
commit
1e395aeee7
@ -54,6 +54,14 @@ extern "C"
|
||||
#define LED2_TOGGLE (GPIOD->PTOR = LED2_MASK)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name FXOS8700CQ 3-axis accelerometer and magnetometer bus configuration
|
||||
* @{
|
||||
*/
|
||||
#define FXOS8700_PARAM_I2C I2C_DEV(0)
|
||||
#define FXOS8700_PARAM_ADDR 0x1C
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user