Skip to content

Commit d2346dd

Browse files
LIS3DH is not a GPS (#621)
Fixes #364
1 parent 84e8d48 commit d2346dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

i2c/lis3dh_i2c/lis3dh_i2c.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "pico/binary_info.h"
1111
#include "hardware/i2c.h"
1212

13-
/* Example code to talk to a LIS3DH Mini GPS module.
13+
/* Example code to talk to a LIS3DH Triple Axis Accelerometer
1414
1515
This example reads data from all 3 axes of the accelerometer and uses an auxiliary ADC to output temperature values.
1616
@@ -22,7 +22,7 @@
2222
GND (physical pin 38) -> GND on LIS3DH board
2323
*/
2424

25-
// By default this device is on bus address 0x18
25+
// By default this device is on bus address 0x18. If this doesn't work, try 0x19.
2626

2727
const int ADDRESS = 0x18;
2828
const uint8_t CTRL_REG_1 = 0x20;

0 commit comments

Comments
 (0)