Keysight Technologies U3810A Getting Started Manual page 66

Advanced iot teaching solution
Table of Contents

Advertisement

2
Run the following command to test the connection. The result should only show Device 0x6b on
the list.
i2cdetect -r -y 1
3
Run the Accelerometer code with this command.
./AccelDisplay
If the file does not exist, enter the command below to recompile the code.
NOTE
gcc M1_L1_AccelDisplay.c -lmraa -o AccelDisplay
4
Tilt the board and notice the change 1.0 is equal to 1 g or 9.8m/s
5
Press Ctrl + C to exit the program and disconnect all jumper wires.
Keysight U3810 Series Getting Started Guide
2
due to the earth's gravity.
66

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents