From f461190e22a97bde985b067ce01c4ed9c74f7e62 Mon Sep 17 00:00:00 2001 From: pks Date: Sat, 1 May 2021 06:17:55 +0200 Subject: v1 --- receive-test.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 receive-test.py (limited to 'receive-test.py') diff --git a/receive-test.py b/receive-test.py deleted file mode 100755 index c1d9783..0000000 --- a/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)) -- cgit v1.2.3