Skip to content
Snippets Groups Projects
Commit 7745a5d3 authored by Pascal Engeler's avatar Pascal Engeler
Browse files

Commenting out

parent a7e3da12
No related branches found
No related tags found
No related merge requests found
......@@ -8,10 +8,10 @@ class PQWSW2:
url = f'http://{self.device_ip}/report'
try:
response = requests.get(url)
print("Smart Switch Connected Successfully")
#print("Smart Switch Connected Successfully")
self.connected = True
except:
print(f"Device at {device_ip} is not available. Are you connected to the PQWSW2 Wlan?")
#print(f"Device at {device_ip} is not available. Are you connected to the PQWSW2 Wlan?")
self.connected = False
def connect(self, device_ip):
......
......@@ -6,11 +6,11 @@ class RL20001:
self.port = port
try:
self.ser = serial.Serial(self.port, baudrate=9600, timeout=2)
print("Numato USB Relay Connected Successfully")
#print("Numato USB Relay Connected Successfully")
self.connected = True
except:
self.ser = None
print(f"Failed to open Serial Port {self.port}.")
#print(f"Failed to open Serial Port {self.port}.")
self.connected = False
def connect(self, port):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment