forked from W4D/soundcube-firmware
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 686f76b0fd |
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
#include <TCA9555.h>
|
#include <TCA9555.h>
|
||||||
#include <AS5600.h>
|
#include <AS5600.h>
|
||||||
//#include <Adafruit_NeoPixel.h>
|
|
||||||
#include <FastLED.h>
|
#include <FastLED.h>
|
||||||
#include <PWMAudio.h>
|
#include <PWMAudio.h>
|
||||||
#include <I2S.h>
|
#include <I2S.h>
|
||||||
@ -26,10 +25,6 @@ enum BUTTON {CVINL, CVINR, INL, INR, OUTR, OUTL, CVOUTR, CVOUTL, RIGHT, LEFT, SE
|
|||||||
CRGB ui_leds[74];
|
CRGB ui_leds[74];
|
||||||
CRGB edge_leds[11];
|
CRGB edge_leds[11];
|
||||||
|
|
||||||
//Adafruit_NeoPixel ui_pixels(74, 5, NEO_GRB + NEO_KHZ800);
|
|
||||||
//Adafruit_NeoPixel edge_pixels(11, 4, NEO_GRB + NEO_KHZ800);
|
|
||||||
|
|
||||||
|
|
||||||
volatile bool flag = false;
|
volatile bool flag = false;
|
||||||
volatile bool click = false;
|
volatile bool click = false;
|
||||||
volatile bool amp = false;
|
volatile bool amp = false;
|
||||||
@ -188,9 +183,6 @@ uint32_t lastTime = 0;
|
|||||||
int32_t position = 0;
|
int32_t position = 0;
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
//ui_pixels.clear(); // Set all pixel colors to 'off'
|
|
||||||
//edge_pixels.clear(); // Set all pixel colors to 'off'
|
|
||||||
|
|
||||||
position = ENC.getCumulativePosition();
|
position = ENC.getCumulativePosition();
|
||||||
|
|
||||||
sd_card_detected = !digitalRead(21);
|
sd_card_detected = !digitalRead(21);
|
||||||
|
|||||||
Reference in New Issue
Block a user