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
30389560
Commit
30389560
authored
Feb 08, 2018
by
Paolo Baesso
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Led now can be controlled independently. KITT is still riding...
parent
f435e8b9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
426 additions
and
8 deletions
+426
-8
TLU_v1e.py
TLU_v1e/scripts/TLU_v1e.py
+26
-1
TLU_powermodule.py
packages/TLU_powermodule.py
+400
-7
No files found.
TLU_v1e/scripts/TLU_v1e.py
View file @
30389560
...
...
@@ -116,7 +116,32 @@ class TLU:
self
.
pwdled
.
setVch
(
1
,
0.9
,
True
)
self
.
pwdled
.
setVch
(
2
,
0.8
,
True
)
self
.
pwdled
.
setVch
(
3
,
0.1
,
True
)
self
.
pwdled
.
setIndicatorRGB
(
2
,
[
1
,
0
,
1
])
self
.
pwdled
.
setIndicatorRGB
(
1
,
[
0
,
0
,
1
])
self
.
pwdled
.
setIndicatorRGB
(
2
,
[
0
,
0
,
1
])
self
.
pwdled
.
setIndicatorRGB
(
3
,
[
0
,
0
,
1
])
self
.
pwdled
.
setIndicatorRGB
(
4
,
[
0
,
0
,
1
])
self
.
pwdled
.
setIndicatorRGB
(
5
,
[
0
,
0
,
1
])
self
.
pwdled
.
setIndicatorRGB
(
6
,
[
0
,
0
,
1
])
self
.
pwdled
.
setIndicatorRGB
(
7
,
[
0
,
0
,
1
])
self
.
pwdled
.
setIndicatorRGB
(
8
,
[
0
,
0
,
1
])
self
.
pwdled
.
setIndicatorRGB
(
9
,
[
0
,
0
,
1
])
self
.
pwdled
.
setIndicatorRGB
(
10
,
[
0
,
0
,
1
])
self
.
pwdled
.
setIndicatorRGB
(
11
,
[
0
,
0
,
1
])
#self.pwdled.allGreen()
#time.sleep(0.5)
#self.pwdled.allRed()
#time.sleep(0.5)
#self.pwdled.allBlue()
#time.sleep(0.5)
self
.
pwdled
.
allBlack
()
time
.
sleep
(
0.5
)
#self.pwdled.allWhite()
#time.sleep(0.5)
self
.
pwdled
.
kitt
()
self
.
pwdled
.
kitt
()
self
.
pwdled
.
kitt
()
self
.
pwdled
.
kitt
()
##################################################################################################################################
##################################################################################################################################
...
...
packages/TLU_powermodule.py
View file @
30389560
This diff is collapsed.
Click to expand it.
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