Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Fjen Undso
nchl
Commits
5b58ec58
Commit
5b58ec58
authored
Jan 23, 2018
by
Fjen Undso
Browse files
lights: fix typo
parent
3dc2b250
Changes
1
Hide whitespace changes
Inline
Side-by-side
lights.py
View file @
5b58ec58
...
...
@@ -93,10 +93,10 @@ def test(colors):
send_broadcast
(
colors
)
if
__name__
==
'__main__'
:
test
(
make_stripe_data
([
255
,
0
,
0
,
0
]
*
LED_NUM
)
test
(
make_stripe_data
([
255
,
0
,
0
,
0
]
*
LED_NUM
)
)
time
.
sleep
(
1
)
test
(
make_stripe_data
([
0
,
255
,
0
,
0
]
*
LED_NUM
)
test
(
make_stripe_data
([
0
,
255
,
0
,
0
]
*
LED_NUM
)
)
time
.
sleep
(
1
)
test
(
make_stripe_data
([
0
,
0
,
255
,
0
]
*
LED_NUM
)
test
(
make_stripe_data
([
0
,
0
,
255
,
0
]
*
LED_NUM
)
)
time
.
sleep
(
1
)
test
(
make_stripe_data
([
0
,
0
,
0
,
255
]
*
LED_NUM
)
test
(
make_stripe_data
([
0
,
0
,
0
,
255
]
*
LED_NUM
)
)
Write
Preview
Supports
Markdown
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