https://github.com/mupq/pqm4
Revision c32bcd017b202d418c9135e2df77be73a69044a0 authored by Ko- on 15 June 2020, 18:45:45 UTC, committed by Ko- on 15 June 2020, 18:45:45 UTC
This reverts commit b64e5f1073cc24097579417a91bcee3ee85eb260. Those lines were not unused.
1 parent b64e5f1
Tip revision: c32bcd017b202d418c9135e2df77be73a69044a0 authored by Ko- on 15 June 2020, 18:45:45 UTC
Revert "clean up Makefile"
Revert "clean up Makefile"
Tip revision: c32bcd0
host_unidirectional.py
#!/usr/bin/env python3
import serial
import sys
dev = serial.Serial("/dev/ttyUSB0", 115200)
print("> Returned data:", file=sys.stderr)
while True:
x = dev.read()
sys.stdout.buffer.write(x)
sys.stdout.flush()

Computing file changes ...