Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
made a *standard* I2C address macro that can be used outside of this …
…library
  • Loading branch information
gigapod committed Nov 4, 2023
commit c09487193a39bd331bd4ffe832036f4a8be65ff8
5 changes: 5 additions & 0 deletions src/sths34pf80_class.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
#include "sths34pf80_api/sths34pf80_reg.h"
#include "sfe_bus.h"


// define a standard i2c address (7 bit) macro

#define STHS34PF80_I2C_ADDRESS (STHS34PF80_I2C_ADD >> 1)

class STHS34PF80
{
public:
Expand Down