Commit 973e2ff6 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Updates current_max

Showing with 1 addition and 0 deletions
+1 -0
...@@ -72,6 +72,7 @@ class Pwr(PwrAbstract): ...@@ -72,6 +72,7 @@ class Pwr(PwrAbstract):
return self._battery_voltage return self._battery_voltage
def current_max(self, value): # [mA] def current_max(self, value): # [mA]
value=value * 1.2 # To set DPS max current slightly above (20%) the limit to avoid regulation artefacts
self.connection.write_register(0x0001, int(value*1000), 0) self.connection.write_register(0x0001, int(value*1000), 0)
@property @property
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment