Code cleanup

- Removed default value for channel
- formatting to make pycharm happy
- added comments
This commit is contained in:
Martin Zietz
2020-12-03 18:00:36 +01:00
parent 22fc08fb95
commit c8e131c8e2
3 changed files with 46 additions and 40 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ device.voltage1 = 12
device.current1 = 1
time.sleep(10)
print("...now enabling the power output control...")
device.enable_output()
device.enable_output(0)
time.sleep(2)
device_status_info1 = device.get_device_status_information(0)
device_status_info2 = device.get_device_status_information(1)