diff options
Diffstat (limited to 'v1/receive-test.py')
-rwxr-xr-x | v1/receive-test.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/v1/receive-test.py b/v1/receive-test.py deleted file mode 100755 index c1d9783..0000000 --- a/v1/receive-test.py +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env python3 - -from RFXtrx import PySerialTransport -import sys, datetime, os - - -if __name__ == "__main__": - transport = PySerialTransport('/dev/ttyUSB0') - transport.reset() - while True: - if os.path.isfile('./stop'): - break - timestamp = datetime.datetime.timestamp(datetime.datetime.now()) - recv = transport.receive_blocking() - print(str(recv)) |