Skip to content

Commit

Permalink
remove rgb
Browse files Browse the repository at this point in the history
  • Loading branch information
marchingband committed Dec 27, 2023
1 parent 65fdf53 commit e313bbb
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 45 deletions.
6 changes: 0 additions & 6 deletions examples/wvr_dev_board/wvr_dev_board.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include <WVR.h>
#include <button.h>
#include <file_system.h>
#include <rgb.h>
#include <pot.h>

WVR wvr;
Expand Down Expand Up @@ -47,14 +46,12 @@ void switchOneUp(void)
{
// log_i("switch one up");
wvr.unmute();
// rgb_set_color(100 /* red */,100 /* green */,100 /* blue */); // makes white
}

void switchOneDown(void)
{
// log_i("switch one down");
wvr.mute();
// rgb_set_color(0 ,0 ,0); // turn off RGB LED
}

void switchTwoUp(void)
Expand All @@ -76,9 +73,6 @@ void setup() {

wvr.encoderInit(D9, D10);
pot_init();

// connect D13 to RGBLED pin on dev board, make sure pin D13 is set to edge:none in WEB GUI
// rgb_init(D13);

gpio_reset_pin(gpioNumToGpioNum_T(D3));
gpio_reset_pin(gpioNumToGpioNum_T(D4));
Expand Down
5 changes: 0 additions & 5 deletions examples/wvr_dev_board_usb/wvr_dev_board_usb.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include <WVR.h>
#include <button.h>
#include <file_system.h>
#include <rgb.h>
#include <pot.h>

WVR wvr;
Expand Down Expand Up @@ -69,10 +68,6 @@ void setup() {
wvr.begin();

log_i("dev board");

// connect D13 to RGBLED pin on dev board, make sure pin D13 is set to edge:none in WEB GUI
// rgb_init(D13);
// rgb_set_color(10,10,10); // very dim white

wvr.resetPin(D9);
wvr.resetPin(D10);
Expand Down
1 change: 0 additions & 1 deletion examples/wvr_thames/wvr_thames.ino
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <file_system.h>
#include <wvr_0.3.h>
#include <gpio.h>
#include "rgb.h"

#define KICK 40
#define SNARE 41
Expand Down
4 changes: 0 additions & 4 deletions library.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
{
"name": "ESPAsyncWebServer",
"platforms": "espressif32"
},
{
"name": "Adafruit_NeoPixel",
"platforms": "espressif32"
}
]
}
4 changes: 4 additions & 0 deletions notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ CPU freq: 240
[ 52][I][wvr_0.3.cpp:89] wvr_init(): wvr starting up

*** VERSION 3.8.4 ***

3.9.0 1017344
3.8.2 1009248
3.7.2 1008880 bytes
2 changes: 1 addition & 1 deletion src/boot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void bootFromEmmc(int index)
log_e("Update.isFinished() : false");
}
} else {
log_e("Update.end() : false");
log_e("Update.end() failed : %s", String(Update.getError()));
}
free(buf);
}
Expand Down
20 changes: 0 additions & 20 deletions src/rgb.cpp

This file was deleted.

7 changes: 0 additions & 7 deletions src/rgb.h

This file was deleted.

1 change: 0 additions & 1 deletion src/wvr_0.3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ void bootFromEmmc(int index);
void boot_into_recovery_mode(void);
int check_for_recovery_mode();
void dev_board_init();
void rgb_init(void);
void neopixel_test(void);
void mkr_init(void);
void midi_parser_init(void);
Expand Down

0 comments on commit e313bbb

Please sign in to comment.