Commit 535710a5 authored by Eric Duminil's avatar Eric Duminil
Browse files

Removed example

parent a735b10a
...@@ -70,20 +70,10 @@ namespace led_effects { ...@@ -70,20 +70,10 @@ namespace led_effects {
onBoardLEDOff(); onBoardLEDOff();
} }
void helloRing(int32_t x) {
Serial.print("HELLO FROM LED RINGS!");
Serial.print("I have ");
Serial.print(NUMPIXELS);
Serial.println("LEDs.");
}
void setupRing() { void setupRing() {
pixels.begin(); pixels.begin();
pixels.setBrightness(config::max_brightness); pixels.setBrightness(config::max_brightness);
LEDsOff(); LEDsOff();
sensor_commands::defineCallback("led", helloRing);
} }
void toggleNightMode() { void toggleNightMode() {
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
#define LED_EFFECTS_H_INCLUDED #define LED_EFFECTS_H_INCLUDED
#include <Arduino.h> #include <Arduino.h>
#include "config.h" #include "config.h"
#include "sensor_commands.h"
// Adafruit NeoPixel (Arduino library for controlling single-wire-based LED pixels and strip) // Adafruit NeoPixel (Arduino library for controlling single-wire-based LED pixels and strip)
// https://github.com/adafruit/Adafruit_NeoPixel // https://github.com/adafruit/Adafruit_NeoPixel
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment