Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Käppler
ampel-firmware
Commits
535710a5
Commit
535710a5
authored
Apr 16, 2021
by
Eric Duminil
Browse files
Removed example
parent
a735b10a
Changes
2
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/led_effects.cpp
View file @
535710a5
...
...
@@ -70,20 +70,10 @@ namespace led_effects {
onBoardLEDOff
();
}
void
helloRing
(
int32_t
x
)
{
Serial
.
print
(
"HELLO FROM LED RINGS!"
);
Serial
.
print
(
"I have "
);
Serial
.
print
(
NUMPIXELS
);
Serial
.
println
(
"LEDs."
);
}
void
setupRing
()
{
pixels
.
begin
();
pixels
.
setBrightness
(
config
::
max_brightness
);
LEDsOff
();
sensor_commands
::
defineCallback
(
"led"
,
helloRing
);
}
void
toggleNightMode
()
{
...
...
ampel-firmware/led_effects.h
View file @
535710a5
...
...
@@ -2,7 +2,6 @@
#define LED_EFFECTS_H_INCLUDED
#include
<Arduino.h>
#include
"config.h"
#include
"sensor_commands.h"
// Adafruit NeoPixel (Arduino library for controlling single-wire-based LED pixels and strip)
// https://github.com/adafruit/Adafruit_NeoPixel
...
...
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