We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84e8d48 commit d2346ddCopy full SHA for d2346dd
i2c/lis3dh_i2c/lis3dh_i2c.c
@@ -10,7 +10,7 @@
10
#include "pico/binary_info.h"
11
#include "hardware/i2c.h"
12
13
-/* Example code to talk to a LIS3DH Mini GPS module.
+/* Example code to talk to a LIS3DH Triple Axis Accelerometer
14
15
This example reads data from all 3 axes of the accelerometer and uses an auxiliary ADC to output temperature values.
16
@@ -22,7 +22,7 @@
22
GND (physical pin 38) -> GND on LIS3DH board
23
*/
24
25
-// By default this device is on bus address 0x18
+// By default this device is on bus address 0x18. If this doesn't work, try 0x19.
26
27
const int ADDRESS = 0x18;
28
const uint8_t CTRL_REG_1 = 0x20;
0 commit comments