diff --git a/access_control_python/access_control_mqtt.py b/access_control_python/access_control_mqtt.py index 1a4888f..c32d7eb 100644 --- a/access_control_python/access_control_mqtt.py +++ b/access_control_python/access_control_mqtt.py @@ -55,7 +55,7 @@ class access_control: """ Activates the LED alarm. """ - self.plc.digital_write(2,1) + self.plc.digital_write(8,1) while(True): self.plc.digital_write(1,round((perf_counter()*2)%1)) print(round((perf_counter()*2)%1)) @@ -63,6 +63,6 @@ class access_control: if self.get_door_state(): self.lock_door() self.plc.digital_write(1,0) - self.plc.digital_write(2,0) + self.plc.digital_write(8,0) break \ No newline at end of file