blob: 0a9a5fc67c7c3a277eadf1107602f0a1921a5764 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
*********************************************************************
** ChibiOS/RT I2C test demo for Freedom Board K20D50M. **
*********************************************************************
** TARGET **
The test runs on an Freescale Freedom K20D50M board.
** The Demo **
This test tries to access the onboard MMA8451 chip using the I2C bus.
It sends the command WHO_AM_I which has a standard answer that can be
verified. If the correct answer is received the GREEN led will blink.
If no answer or invalid answer is received the RED led will blink.
** Build Procedure **
This test was built using the ARM GCC toolchain available at:
https://launchpad.net/gcc-arm-embedded
|