Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
o
p
r
s
t
v
Functions
a
b
c
f
k
l
o
p
r
s
t
Variables
a
b
c
d
e
f
g
h
i
l
o
p
r
s
t
v
Enumerations
Enumerator
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
v
w
x
~
Functions
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
v
w
~
Variables
b
c
d
e
f
h
i
j
l
m
n
o
p
q
r
s
t
v
w
x
Enumerations
Enumerator
d
e
l
m
o
p
r
s
t
Files
File List
File Members
All
_
b
e
f
g
h
i
l
m
o
p
r
s
t
v
w
Functions
_
e
f
g
i
m
p
r
s
t
Variables
Typedefs
Macros
h
i
l
m
o
r
s
t
v
w
serial
tests
proof_of_concepts
python_serial_test.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
3
import
serial, sys
4
5
if
len(sys.argv) != 2:
6
print
"python: Usage_serial_test <port name like: /dev/ttyUSB0>"
7
sys.exit(1)
8
9
sio =
serial.Serial
(sys.argv[1], 115200)
10
sio.timeout = 250
11
12
while
True
:
13
sio.write(
"Testing."
)
14
print
sio.read(8)
15
serial::Serial
Definition:
serial.h:147
ubiquity_motor
Author(s):
autogenerated on Thu Nov 16 2023 03:30:55