Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
pts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
misc
pts
Commits
f801fcda
Commit
f801fcda
authored
Jul 29, 2011
by
Samuel Iglesias Gonsalvez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tps/test: change the blincking leds
parent
dc0a9bf5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
test03.py
test/spec/python/test03.py
+4
-1
test_flash.bin
test/spec/python/test_flash.bin
+0
-0
No files found.
test/spec/python/test03.py
View file @
f801fcda
...
...
@@ -65,8 +65,11 @@ def main (default_directory='.'):
tmp_stdin
=
sys
.
stdin
;
sys
.
stdin
=
sys
.
__stdin__
;
while
((
ask
!=
"Y"
)
and
(
ask
!=
"N"
))
:
ask
=
raw_input
(
"Are the LEDs of the front panel blinking when you press the buttons? Are the other LEDs ON? [Y/N]"
)
print
"-------------------------------------------------------------"
print
"
\t
PRESS THE BUTTONS IN THE SPEC BOARD "
ask
=
raw_input
(
"Are the LEDs blinking when you press the buttons? [Y/N]"
)
ask
=
ask
.
upper
()
print
"-------------------------------------------------------------"
sys
.
stdout
=
tmp_stdout
;
sys
.
stdin
=
tmp_stdin
;
...
...
test/spec/python/test_flash.bin
View file @
f801fcda
No preview for this file type
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