forked from M-Labs/thermostat
channels: voltage measurement refalect actual voltage across TEC
This commit is contained in:
parent
1539b624bd
commit
3ba2cc9ddc
@ -438,7 +438,7 @@ impl Channels {
|
|||||||
dac_feedback: self.read_dac_feedback(channel),
|
dac_feedback: self.read_dac_feedback(channel),
|
||||||
i_tec,
|
i_tec,
|
||||||
tec_i,
|
tec_i,
|
||||||
tec_u_meas: self.read_tec_u_meas(channel),
|
tec_u_meas: (self.read_tec_u_meas(channel) - ElectricPotential::new::<volt>(1.5)) * 4.0,
|
||||||
pid_output,
|
pid_output,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user