Skip to content

Commit c094871

Browse files
committed
made a *standard* I2C address macro that can be used outside of this library
1 parent 753c6b0 commit c094871

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/sths34pf80_class.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
#include "sths34pf80_api/sths34pf80_reg.h"
55
#include "sfe_bus.h"
66

7+
8+
// define a standard i2c address (7 bit) macro
9+
10+
#define STHS34PF80_I2C_ADDRESS (STHS34PF80_I2C_ADD >> 1)
11+
712
class STHS34PF80
813
{
914
public:

0 commit comments

Comments
 (0)