Skip to content

Commit 1aa8ff1

Browse files
committed
Remove spectroscope
1 parent f5880a5 commit 1aa8ff1

File tree

3 files changed

+0
-70
lines changed

3 files changed

+0
-70
lines changed

src/Spectroscope.cpp

Lines changed: 0 additions & 52 deletions
This file was deleted.

src/Spectroscope.h

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/WebSocket.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#include "Fade.h"
77
#include "FastLEDManager.h"
88
#include "SerialOut.h"
9-
#include "Spectroscope.h"
109

1110
#include <ArduinoJson.h>
1211
#include <ESP8266mDNS.h>
@@ -85,12 +84,6 @@ void handleBinary(uint8_t *binary, uint8_t id)
8584
for (uint16_t i = 0; i < FastLEDManager.numLeds; i++)
8685
FastLEDManager.leds[i] = CRGB(binary[1 + i * 3], binary[2 + i * 3], binary[3 + i * 3]);
8786
break;
88-
case 11: // linear spectroscope data
89-
Spectroscope::updateSpectroscope(binary + 1, false);
90-
break;
91-
case 12: // Symmetrical spectroscope data
92-
Spectroscope::updateSpectroscope(binary + 1, true);
93-
break;
9487
case 20: // Slider data
9588
FastLEDManager.getSlider(binary[1])->value = binary[2];
9689
break;
@@ -107,7 +100,6 @@ void handleBinary(uint8_t *binary, uint8_t id)
107100
JsonArray sliders = doc.createNestedArray("sliders");
108101
for (uint8_t i = 0; i < FastLEDManager.sliders.size(); i++)
109102
{
110-
// sliders.add(FastLEDManager.sliders.get(i).name);
111103
JsonObject slider = sliders.createNestedObject();
112104
slider["name"] = FastLEDManager.sliders.get(i)->name;
113105
slider["min"] = FastLEDManager.sliders.get(i)->min;

0 commit comments

Comments
 (0)