Skip to content
GitLab
Menu
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
Oct 23, 2021
by
Eric Duminil
Browse files
Sophie blue!
parent
447f9bf1
Pipeline
#5899
failed with stage
in 19 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
ampel-firmware/ampel-firmware.ino
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
);
...
...
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