Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
AIDA-2020 TLU - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
AIDA-2020 TLU - Software
Commits
666e4f6e
Commit
666e4f6e
authored
Jul 24, 2018
by
Paolo Baesso
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor tweaks
parent
26890f0e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
AIDA_testScript.py
TLU_v1e/scripts/AIDA_testScript.py
+1
-1
TLU_v1e.py
TLU_v1e/scripts/TLU_v1e.py
+1
-1
TLU_powermodule.py
packages/TLU_powermodule.py
+3
-1
No files found.
TLU_v1e/scripts/AIDA_testScript.py
View file @
666e4f6e
...
...
@@ -158,7 +158,7 @@ print "\tIC7 read back bank 0: 0x%X" % res[0]
#BANK 1
IC7
.
setInvertReg
(
1
,
0x00
)
# 0= normal
IC7
.
setIOReg
(
1
,
0x00
)
# 0= output <<<<<<<<<<<<<<<<<<<
IC7
.
setOutputs
(
1
,
0x
B0
)
IC7
.
setOutputs
(
1
,
0x
AF
)
res
=
IC7
.
getInputs
(
1
)
print
"
\t
IC7 read back bank 1: 0x
%
X"
%
res
[
0
]
# #I2C EXPANDER CONFIGURATION END
...
...
TLU_v1e/scripts/TLU_v1e.py
View file @
666e4f6e
...
...
@@ -146,7 +146,7 @@ class TLU:
self
.
pwdled
.
kitt
()
time
.
sleep
(
0.1
)
self
.
pwdled
.
allWhite
()
self
.
pwdled
.
test
()
#
self.pwdled.test()
...
...
packages/TLU_powermodule.py
View file @
666e4f6e
...
...
@@ -315,7 +315,7 @@ class PWRLED:
print
"
\t
LED test completed"
def
test
(
self
):
print
"Testing the powermodule"
print
"
Testing the powermodule"
self
.
allBlack
()
# loop over red
for
iLED
in
range
(
0
,
12
):
...
...
@@ -334,4 +334,6 @@ class PWRLED:
self
.
setIndicatorRGB
(
iLED
,
[
0
,
0
,
1
])
self
.
setIndicatorRGB
(
iLED
-
1
,
[
0
,
0
,
0
])
time
.
sleep
(
0.1
)
self
.
allBlack
()
print
" Powermodule test done"
return
\ No newline at end of file
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