Data Sheet

UCTRONICS Ultimate Starter Leaning Kit for Raspberry Pi #K0064
127 www.uctronics.com
2. Program
NOTE:
The following program use I2C interface. Before you run the program, please make sure the
I2C driver module of Raspberry Pi has loaded normally.
Python user:
2.1 Edit and save the code with vim or nano.
(https://github.com/UCTRONICS/Arducam_Starter_Kit_Python_Code_for_RPi.git)
2.2 Run the program
$ sudo python Adafruit_ADXL345.py
Press Enter, you should see that the acceleration data will be displayed on the terminal.