Skip to content

Commit 133216b

Browse files
committed
Moving sound reactive routines to a different repository.
1 parent 39d2f0c commit 133216b

File tree

94 files changed

+47
-3811
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+47
-3811
lines changed

aanimations/aanimations.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void setup() {
4141
// LEDS.addLeds<LED_TYPE, LED_DT, COLOR_ORDER>(leds, NUM_LEDS); // Use this for WS2812
4242

4343
FastLED.setBrightness(max_bright);
44-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
44+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
4545

4646
} // setup()
4747

aatemplate/aatemplate.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void setup() {
6060
currentBlending = LINEARBLEND;
6161

6262
FastLED.setBrightness(max_bright);
63-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
63+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
6464

6565
} // setup()
6666

beatwave/beatwave.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void setup() {
4545
currentPalette = RainbowColors_p;
4646

4747
FastLED.setBrightness(max_bright);
48-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
48+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
4949

5050
} // setup()
5151

black/black.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void setup() {
3838
// LEDS.addLeds<LED_TYPE, LED_DT, COLOR_ORDER>(leds, NUM_LEDS); // Use this for WS2812
3939

4040
FastLED.setBrightness(max_bright);
41-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
41+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
4242

4343
} // setup()
4444

blendwave/blendwave.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void setup() {
4444
// LEDS.addLeds<LED_TYPE, LED_DT, COLOR_ORDER>(leds, NUM_LEDS); // Use this for WS2812
4545

4646
FastLED.setBrightness(max_bright);
47-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
47+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
4848

4949
} // setup()
5050

blur/blur.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void setup() {
4040
// LEDS.addLeds<LED_TYPE, LED_DT, COLOR_ORDER>(leds, NUM_LEDS); // Use this for WS2812
4141

4242
FastLED.setBrightness(max_bright);
43-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
43+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
4444

4545
} // setup()
4646

button_demoReel100/button_demoReel100.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void setup() {
7878
// LEDS.addLeds<LED_TYPE, LED_DT, COLOR_ORDER>(leds, NUM_LEDS); // Use this for WS2812
7979

8080
FastLED.setBrightness(max_bright);
81-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
81+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
8282

8383
gCurrentPatternNumber = EEPROM.read(eepaddress);
8484

confetti/confetti.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void setup() {
5151
LEDS.addLeds<LED_TYPE, LED_DT, LED_CK, COLOR_ORDER>(leds, NUM_LEDS); // Use this for WS2801 or APA102
5252

5353
FastLED.setBrightness(max_bright);
54-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED power management set at 5V, 500mA.
54+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED power management set at 5V, 500mA.
5555
} // setup()
5656

5757

confetti_pal/confetti_pal.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void setup() {
5656
currentBlending = LINEARBLEND;
5757

5858
FastLED.setBrightness(max_bright);
59-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED power management set at 5V, 500mA.
59+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED power management set at 5V, 500mA.
6060

6161
} // setup()
6262

dot_beat/dot_beat.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void setup() {
4545
LEDS.addLeds<LED_TYPE, LED_DT, LED_CK, COLOR_ORDER>(leds, NUM_LEDS); // Use this for APA102 or WS2801
4646

4747
FastLED.setBrightness(max_bright);
48-
set_max_power_in_volts_and_milliamps(5, 500);
48+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500);
4949

5050
} // setup()
5151

easing/easing.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void setup() {
5353
// LEDS.addLeds<LED_TYPE, LED_DT, COLOR_ORDER>(leds, NUM_LEDS); // Use this for WS2812
5454

5555
FastLED.setBrightness(max_bright);
56-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
56+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
5757

5858
} // setup()
5959

every_n_example/every_n_example.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void setup() {
5353
currentPalette = PartyColors_p;
5454

5555
FastLED.setBrightness(max_bright);
56-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
56+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
5757

5858
} // setup()
5959

fadein/fadein.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void setup() {
4444
// LEDS.addLeds<LED_TYPE, LED_DT, COLOR_ORDER>(leds, NUM_LEDS).setCorrection(0xFFB0F0); // Use this for WS2812
4545

4646
FastLED.setBrightness(max_bright);
47-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
47+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
4848

4949
} // setup()
5050

fastled_tips_snippets.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Note: This is a TEXT file and not a program. It has a .h extension so that it lo
3838
3939
Put the following in setup():
4040
41-
set_max_power_in_volts_and_milliamps(5, 500); // This is used by the power management functionality and is currently set at 5V, 500mA.
41+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // This is used by the power management functionality and is currently set at 5V, 500mA.
4242
4343
4444
@@ -151,7 +151,7 @@ void setup () {
151151
FastLED.addLeds<LED_TYPE,LED_DT,LED_CK,COLOR_ORDER>(leds, NUM_LEDS).setCorrection(TypicalLEDStrip).setDither(max_bright < 255);
152152
FastLED.addLeds<LED_TYPE,LED_DT,LED_CK,COLOR_ORDER>(leds, NUM_LEDS).setCorrection(0xffb0e0);
153153
FastLED.setBrightness(max_bright); // You can change the overall brightness on the fly, i.e. with a potentiometer.
154-
set_max_power_in_volts_and_milliamps(5, 500); // This is used by the power management functionality and is currently set at 5V, 500mA.
154+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // This is used by the power management functionality and is currently set at 5V, 500mA.
155155

156156

157157
// Optional randomization
@@ -210,7 +210,7 @@ FastLED.delay(thisdelay); // I don't use this either. I use EVERY_N_MILL
210210

211211
// Power managed display -----------------------------------
212212

213-
set_max_power_in_volts_and_milliamps(5, 500); // This is defined in setup and used by the power management functionality and is currently set at 5V, 500mA.
213+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // This is defined in setup and used by the power management functionality and is currently set at 5V, 500mA.
214214
FastLED.show(); // This is used in loop for power managed display of LED's.
215215

216216

fht_log_fast/fht_log_fast.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void setup() {
8888
// LEDS.addLeds<LED_TYPE, LED_DT, COLOR_ORDER>(leds, NUM_LEDS); // Use this for WS2812
8989

9090
FastLED.setBrightness(max_bright);
91-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
91+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
9292

9393
// Setup the ADC for polled 10 bit sampling on analog pin 5 at 19.2kHz.
9494
cli(); // Disable interrupts.

fht_log_ripple/fht_log_ripple.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void setup() {
9696
LEDS.addLeds<LED_TYPE, LED_DT, LED_CK, COLOR_ORDER>(leds, NUM_LEDS); // Use this for WS2801 or APA102 LED_TYPE
9797

9898
FastLED.setBrightness(max_bright);
99-
set_max_power_in_volts_and_milliamps(5, 500); // This is used by the power management functionality and is currently set at 5V, 500mA.
99+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // This is used by the power management functionality and is currently set at 5V, 500mA.
100100

101101
currentPalette = PartyColors_p; // Nice bright starting colours.
102102
currentBlending = LINEARBLEND;

fill_colours/fill_colours.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void setup() {
5959
// LEDS.addLeds<LED_TYPE, LED_DT, COLOR_ORDER>(leds, NUM_LEDS); // Use this for WS2812
6060

6161
FastLED.setBrightness(max_bright);
62-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
62+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
6363

6464
} // setup()
6565

fill_grad/fill_grad.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void setup() {
5252
LEDS.addLeds<LED_TYPE, LED_DT, LED_CK, COLOR_ORDER>(leds, NUM_LEDS); // Use this for WS2801 or APA102
5353
// LEDS.addLeds<LED_TYPE, LED_DT, COLOR_ORDER>(leds, NUM_LEDS); // Use this for WS2801 or APA102
5454

55-
set_max_power_in_volts_and_milliamps(5, 500); // This is used by the power management functionality and is currently set at 5V, 500mA.
55+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // This is used by the power management functionality and is currently set at 5V, 500mA.
5656
FastLED.setBrightness(max_bright);
5757

5858
} // setup()

inoise8_fire/inoise8_fire.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void setup() {
4747

4848
FastLED.setBrightness(max_bright);
4949

50-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
50+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
5151

5252
currentPalette = CRGBPalette16(
5353
CRGB::Black, CRGB::Black, CRGB::Black, CHSV(0, 255,4),

inoise8_mover/inoise8_mover.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void setup() {
5151
LEDS.addLeds<LED_TYPE,LED_DT,LED_CK, COLOR_ORDER>(leds,NUM_LEDS);
5252

5353
FastLED.setBrightness(max_bright);
54-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
54+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
5555

5656
dist = random16(12345); // A semi-random number for our noise generator
5757

inoise8_pal_demo/inoise8_pal_demo.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void setup() {
5656
LEDS.addLeds<LED_TYPE,LED_DT,LED_CK, COLOR_ORDER>(leds,NUM_LEDS);
5757

5858
FastLED.setBrightness(max_bright);
59-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
59+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
6060

6161
dist = random16(12345); // A semi-random number for our noise generator
6262

irltest/irltest.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void setup() {
6868

6969
FastLED.setBrightness(max_bright);
7070

71-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
71+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
7272

7373
} // setup()
7474

juggle_pal/juggle_pal.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void setup() {
5959
currentBlending = LINEARBLEND;
6060

6161
FastLED.setBrightness(max_bright);
62-
set_max_power_in_volts_and_milliamps(5, 1000); // FastLED power management set at 5V, 500mA.
62+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 1000); // FastLED power management set at 5V, 500mA.
6363

6464
} // setup()
6565

lightnings/lightnings.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void setup() {
4747
LEDS.addLeds<LED_TYPE, LED_DT, LED_CK, COLOR_ORDER>(leds, NUM_LEDS); // Use this for WS2801 or APA102
4848

4949
FastLED.setBrightness(max_bright);
50-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
50+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
5151

5252
} // setup()
5353

matrix_pal_demo/matrix_pal_demo.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void setup() {
5757
currentBlending = LINEARBLEND;
5858

5959
FastLED.setBrightness(max_bright);
60-
set_max_power_in_volts_and_milliamps(5, 1000); // FastLED power management set at 5V, 500mA
60+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 1000); // FastLED power management set at 5V, 500mA
6161

6262
} // setup()
6363

matrix_ray/matrix_ray.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void setup() {
5555

5656
FastLED.setBrightness(max_bright);
5757

58-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
58+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
5959

6060
} // setup()
6161

mover/mover.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void setup() {
4848
// LEDS.addLeds<LED_TYPE, LED_DT, COLOR_ORDER>(leds, NUM_LEDS); // Use this for WS2812
4949

5050
FastLED.setBrightness(max_bright);
51-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
51+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
5252

5353
currentBlending = LINEARBLEND;
5454

noise16_1/noise16_1.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void setup() {
4545
currentBlending = LINEARBLEND;
4646

4747
FastLED.setBrightness(max_bright);
48-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
48+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
4949

5050
} // setup()
5151

noise16_2/noise16_2.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void setup() {
4545
currentBlending = LINEARBLEND;
4646

4747
FastLED.setBrightness(max_bright);
48-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
48+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
4949

5050
} // setup()
5151

noise16_3/noise16_3.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void setup() {
4545
currentBlending = LINEARBLEND;
4646

4747
FastLED.setBrightness(max_bright);
48-
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
48+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500); // FastLED Power management set at 5V, 500mA.
4949

5050
} // setup()
5151

notamesh/notamesh.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ void setup() {
452452
// LEDS.addLeds<LED_TYPE, LED_DT, LED_CK, COLOR_ORDER >(leds, MAX_LEDS); // APA102 or WS2801 definition
453453
LEDS.addLeds<LED_TYPE, LED_DT, COLOR_ORDER >(leds, MAX_LEDS); // WS2812 definition
454454

455-
set_max_power_in_volts_and_milliamps(5, 750); // 5V, 750 mA maximum power draw.
455+
FastLED.setMaxPowerInVoltsAndMilliamps(5, 750); // 5V, 750 mA maximum power draw.
456456

457457
#if defined(_ESP8266)
458458
EEPROM.begin(32); // Not used by the UNO/Nano, but critical for ESP8266.

notasound/besin.h

-23
This file was deleted.

notasound/bubbles.h

-43
This file was deleted.

0 commit comments

Comments
 (0)