Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
2d53cbaa
Commit
2d53cbaa
authored
3 years ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
Sophie blue!
parent
447f9bf1
archive/experimental/binary_clock
No related merge requests found
Pipeline
#5899
failed with stage
in 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ampel-firmware/ampel-firmware.ino
+2
-2
ampel-firmware/ampel-firmware.ino
with
2 additions
and
2 deletions
+2
-2
ampel-firmware/ampel-firmware.ino
+
2
-
2
View file @
2d53cbaa
...
...
@@ -45,8 +45,8 @@ void loop() {
// Check if air is good enough
for
(
int
i
=
0
;
i
<
LED_COUNT
;
++
i
)
{
if
((
n
>>
i
)
&
1
)
{
//
led_ring.setPixelColor(i, 0
, 255, 0);
led_ring
.
setPixelColor
(
i
,
led_ring
.
ColorHSV
(
n
*
1023
+
60000
));
led_ring
.
setPixelColor
(
i
,
0
x00ff84
);
// Sophie BlueGreen
//
led_ring.setPixelColor(i, led_ring.ColorHSV(n * 1023 + 60000));
}
}
Serial
.
print
(
n
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets