Changes
This commit is contained in:
@@ -40,6 +40,9 @@ void read_sensor_task(void* parameter)
|
||||
while (true) {
|
||||
// Get Values from sensor
|
||||
|
||||
char* chip_id = ina_sensor.print_device_number(0x40);
|
||||
logger.log(MYLOG, ERROR, "Chip Model: %s", chip_id);
|
||||
|
||||
float bus_voltage = ina_sensor.getBusVoltage();
|
||||
float shunt_voltage = ina_sensor.getShuntVoltage_mV() - zero_value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user