added code for timer pushbutton

This commit is contained in:
2024-02-27 21:07:09 +01:00
parent 51d19ac1f5
commit acb098e183
7 changed files with 290 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ def write(ser):
break
def main():
s = serial.Serial(port="/dev/ttyACM0", parity=serial.PARITY_EVEN, stopbits=serial.STOPBITS_ONE, timeout=1)
s = serial.Serial(port="/dev/ttyACM3", parity=serial.PARITY_EVEN, stopbits=serial.STOPBITS_ONE, timeout=1)
s.flush()
rw = input('Read or Write tags? [R/w]')
@@ -98,4 +98,4 @@ def main():
if __name__ == "__main__":
main()
main()