This commit is contained in:
@@ -44,9 +44,10 @@ void read_sensor_task(void* parameter)
|
||||
{
|
||||
while (true) {
|
||||
// Get Values from sensor
|
||||
|
||||
#ifndef USE_INA226
|
||||
String chip_id = ina_sensor.get_device_model();
|
||||
LOG(DEBUG, "Chip Model: %s", chip_id.c_str());
|
||||
#endif
|
||||
|
||||
float bus_voltage = ina_sensor.getBusVoltage();
|
||||
float shunt_voltage = ina_sensor.getShuntVoltage_mV() - zero_value;
|
||||
|
||||
Reference in New Issue
Block a user