Skip to content
Snippets Groups Projects
Commit 2f0d4ad8 authored by chrissi^'s avatar chrissi^
Browse files

Disable RTS on connect to prevent from TX


Signed-off-by: default avatarChris Fiege <chris@tinyhost.de>
parent cd6ff43c
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ class SA868(object): ...@@ -12,6 +12,7 @@ class SA868(object):
def __init__(self, port): def __init__(self, port):
self._serial = serial.Serial(port, 9200, timeout=1) self._serial = serial.Serial(port, 9200, timeout=1)
self._serial.RTS = False
self._logger = logging.getLogger("SA868") self._logger = logging.getLogger("SA868")
def _check_freq_range(self, freq): def _check_freq_range(self, freq):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment