Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ExpressLRS/ExpressLRS
/ write_str
Method
write_str
src/python/SerialHelper.py:70–74 ·
view source on GitHub ↗
(self, data, new_line=True)
Source
from the content-addressed store, hash-verified
68
serial.flush()
69
70
def
write_str(self, data, new_line=True):
71
if
(new_line):
72
self.write(data+
'\r\n'
)
73
else
:
74
self.write(data)
75
76
77
def
__convert_to_str(self, data):
Callers
2
bf_passthrough_init
Function · 0.95
_validate_serialrx
Function · 0.80
Calls
1
write
Method · 0.95
Tested by
no test coverage detected