added round_to_E_series function to eseries lib.
This commit is contained in:
@@ -43,7 +43,7 @@ int set_output_voltage(double setpoint_voltage, ESeries E_resistors) {
|
||||
|
||||
R_low_decade_w = i_low;
|
||||
|
||||
for (int j_low = 0; j_low < e_max_values; j_low++) {
|
||||
for (int j_low = 0; j_low <= e_max_values; j_low++) {
|
||||
|
||||
// in the 6th decate only examine R_low = 1M, then stop
|
||||
if ( i_low == 6 && j_low > 0 )
|
||||
|
||||
Reference in New Issue
Block a user