Skip to content

Commit

Permalink
change I2C address
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-goddard committed Apr 20, 2024
1 parent c196ca5 commit 80d3fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lis3dh.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "hardware/i2c.h"
#include "pico/stdlib.h"

#define LIS3DH_ADDR (0x19)
#define LIS3DH_ADDR (0x18)

#define LIS3DH_REG_CTRL_1 (0x20)
#define LIS3DH_REG_CTRL_4 (0x23)
Expand Down

0 comments on commit 80d3fd1

Please sign in to comment.