We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2281a27 commit 5b891a7Copy full SHA for 5b891a7
README.md
@@ -12,6 +12,12 @@ Example Usage:
12
dps = pydps.dps_psu('COM3', 1) # port name, slave address
13
14
print(dps.getModel()) #Should show 5005 for dps5005
15
+
16
+ dps.setKeyLock(True) #Lock keys
17
18
+ dps.setVoltage(12) #Set Voltage to 12V
19
+ dps.setOutput(True) #Enable Output
20
21
print(dps.getVoltage()) #returns the measured output voltage
22
print(dps.getCurrent()) #Prints measured output current in A
23
@@ -23,3 +29,6 @@ Example Usage:
29
24
30
print(dat["power"]) #Prints measured power in W
25
31
print(dat["i-out"]) #Prints measured output current in A
32
33
+ dps.setKeyLock(False) #Unlock keys
34
0 commit comments