forked from M-Labs/ionpak-thermostat
add parameters for chinese ion gauges
This commit is contained in:
parent
5ab0885a1f
commit
5e13d30cc1
|
@ -79,10 +79,24 @@ fn main() {
|
|||
|
||||
let mut loop_anode = LOOP_ANODE.borrow(cs).borrow_mut();
|
||||
let mut loop_cathode = LOOP_CATHODE.borrow(cs).borrow_mut();
|
||||
let anode_cathode = 20.0;
|
||||
let cathode_bias = 12.0;
|
||||
loop_anode.set_target(anode_cathode+cathode_bias);
|
||||
loop_cathode.set_emission_target(anode_cathode/10000.0);
|
||||
/*
|
||||
// ZJ-10
|
||||
let anode = 165.0;
|
||||
let cathode_bias = 50.0;
|
||||
let emission = 0.5e-3;
|
||||
*/
|
||||
/*
|
||||
// ZJ-27
|
||||
let anode = 225.0;
|
||||
let cathode_bias = 25.0;
|
||||
let emission = 1.0e-3;
|
||||
*/
|
||||
// ZJ-12
|
||||
let anode = 200.0;
|
||||
let cathode_bias = 50.0;
|
||||
let emission = 4.0e-3;
|
||||
loop_anode.set_target(anode);
|
||||
loop_cathode.set_emission_target(emission);
|
||||
loop_cathode.set_bias_target(cathode_bias);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue