Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch committed Dec 12, 2024
1 parent 115a556 commit 9cb2c78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions i2c_ads1115.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ void i2c_ads1115_try_init() {
// | PGA_256 | 8 |
resolution = i2c_ads1115_sensor.getCoefficient() / M5_UNIT_VMETER_PRESSURE_COEFFICIENT;
calibration_factor = i2c_ads1115_sensor.getFactoryCalibration();
app.onRepeat(2000, []() {
i2c_ads1115_report();
});
}
}

Expand Down

0 comments on commit 9cb2c78

Please sign in to comment.