Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
wollewald authored Oct 15, 2022
1 parent 42c59b3 commit 9c7a634
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
5 changes: 0 additions & 5 deletions src/SI1145_WE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@

#include "SI1145_WE.h"

SI1145_WE::SI1145_WE(){
_wire = &Wire;
i2cAddress = 0x60;
}

SI1145_WE::SI1145_WE(TwoWire *w){
_wire = w;
i2cAddress = 0x60;
Expand Down
4 changes: 1 addition & 3 deletions src/SI1145_WE.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,7 @@ typedef enum SI1145IntType{
class SI1145_WE
{
public:
SI1145_WE();
SI1145_WE(TwoWire *w);

SI1145_WE(TwoWire *w = &Wire);
void init();
void resetSI1145();
void setI2CAddress(int);
Expand Down

0 comments on commit 9c7a634

Please sign in to comment.