Skip to content

Commit

Permalink
Update ADS1115_WE.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wollewald committed Apr 10, 2024
1 parent a4781a7 commit 0ea5ee1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ADS1115_WE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,9 @@ void ADS1115_WE::setCompareChannels(ADS1115_MUX mux){

if(!(currentConfReg & 0x0100)){ // => if not single shot mode
convRate rate = getConvRate();
delayAccToRate(rate);
delayAccToRate(rate);
for(int i=0; i<2; i++){ // waiting time for two measurements
delayAccToRate(rate);
}
}
}

Expand Down

0 comments on commit 0ea5ee1

Please sign in to comment.