diff --git a/Ohmpi.py b/Ohmpi.py index 5febe34fcdf4a792941e5dd4d5967f945aae6fc8..b8efb7bb0c0ad63d0da8c54755d68c116121b524 100644 --- a/Ohmpi.py +++ b/Ohmpi.py @@ -33,6 +33,8 @@ print(current_time.strftime("%Y-%m-%d %H:%M:%S")) Hardware parameters """ R_shunt = 0.2# reference resistance value in ohm +Imax=4800/50/2 +print(colored('The maximum current cannot be higher than 48 mA', 'red')) coef_p2 = 2.50# slope for current conversion for ADS.P2, measurement in V/V coef_p3 = 2.50 # slope for current conversion for ADS.P3, measurement in V/V offset_p2= 0