Page 32
10. Accelerometer
On board
ADXL345
accelerometer is used
to measure acceleration in three axis: x, y and
z. The accelerometer function is defined by the
user in the program loaded into the microcontroller.
Communication between the accelerometer and the
microcontroller is performed via the
I
2
C
interface.
Figure 10-1:
Accelerometer
module
You can set the accelerometer address to 0 or 1 by re-soldering
the SMD jumper (zero-ohm resistor) to the appropriate position.
Jumper is placed in address 1 position by default.
Содержание mikromedia PIC18FJ
Страница 41: ...Page 41 Notes...
Страница 42: ...Page 42 Notes...