Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lwc
/
compare
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f1a11334
authored
Jan 21, 2020
by
Sebastian Renner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gapuino test script fix
parent
62f566e3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
templates/gapuino/test
+1
-2
No files found.
templates/gapuino/test
View file @
f1a11334
...
@@ -24,7 +24,6 @@ def get_serial():
...
@@ -24,7 +24,6 @@ def get_serial():
import
serial.tools.list_ports
import
serial.tools.list_ports
ports
=
serial
.
tools
.
list_ports
.
comports
()
ports
=
serial
.
tools
.
list_ports
.
comports
()
devices
=
[
p
.
device
for
p
in
ports
]
devices
=
[
p
.
device
for
p
in
ports
]
devices
.
sort
()
return
devices
return
devices
...
@@ -136,7 +135,7 @@ def main(argv):
...
@@ -136,7 +135,7 @@ def main(argv):
ser
.
setRTS
(
False
)
ser
.
setRTS
(
False
)
time
.
sleep
(
0.1
)
time
.
sleep
(
0.1
)
ser
.
setRTS
(
True
)
ser
.
setRTS
(
True
)
time
.
sleep
(
1
)
time
.
sleep
(
1
.5
)
exp_hello
=
b
"Hello, World!"
exp_hello
=
b
"Hello, World!"
hello
=
ser
.
read
(
len
(
exp_hello
))
hello
=
ser
.
read
(
len
(
exp_hello
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment