User Manual
120
Experimental Procedures
Step 1: Build the circuit
The I 2C interface is used in the following program. Before running the program, please make
sure the I2C driv er module of Raspberry Pi has loaded normally.
For C language users:
Step 2: Get into the folder of code
cd /home/pi/SunFounder_Super_Kit_V3.0_for_Raspberry_Pi/C
Step 3: Compile the Code
make 17_adxl345
Step 4: Run
sudo ./17_adxl345
SunFounder