Skip to content

Commit

Permalink
Update Waveshare_7_5_T7_Sensors.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs authored Sep 16, 2024
1 parent 362f282 commit 61f517f
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1382,17 +1382,14 @@ void GetLocalData(void) {
#endif

#ifdef SCD4X_EN
// To Do:
// - Move after BME280 code
// - Add barometric pressure compansation
SensirionI2CScd4x scd4x;

uint16_t error;
char errorMessage[256];

scd4x.begin(myWire);

// stop potentially previously started measurement
// stop potential previously started measurement
error = scd4x.stopPeriodicMeasurement();
if (error) {
errorToString(error, errorMessage, 256);
Expand Down

0 comments on commit 61f517f

Please sign in to comment.