Skip to content

Commit aa27b85

Browse files
committed
Re added old C9 palette
1 parent afe75f8 commit aa27b85

File tree

4 files changed

+29
-12
lines changed

4 files changed

+29
-12
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
### Development versions after the 0.10.2 release
44

5+
#### Build 2011010
6+
7+
- Re-added previous C9 palette
8+
- Renamed new C9 palette
9+
510
#### Build 2010290
611

712
- Colorful effect now supports palettes

wled00/FX.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ const char JSON_palette_names[] PROGMEM = R"=====([
729729
"Pastel","Sunset 2","Beech","Vintage","Departure","Landscape","Beach","Sherbet","Hult","Hult 64",
730730
"Drywet","Jul","Grintage","Rewhi","Tertiary","Fire","Icefire","Cyane","Light Pink","Autumn",
731731
"Magenta","Magred","Yelmag","Yelblu","Orange & Teal","Tiamat","April Night","Orangery","C9","Sakura",
732-
"Aurora","Atlantica","C9 2"
732+
"Aurora","Atlantica","C9 2","C9 New"
733733
])=====";
734734

735735
#endif

wled00/palettes.h

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#ifndef PalettesWLED_h
1414
#define PalettesWLED_h
1515

16-
#define GRADIENT_PALETTE_COUNT 40
16+
#define GRADIENT_PALETTE_COUNT 41
1717

1818
const byte ib_jul01_gp[] PROGMEM = {
1919
0, 194, 1, 1,
@@ -551,14 +551,14 @@ const byte Orangery_gp[] PROGMEM = {
551551

552552
//inspired by Mark Kriegsman https://gist.github.com/kriegsman/756ea6dcae8e30845b5a
553553
const byte C9_gp[] PROGMEM = {
554-
0, 255, 5, 0, //red
555-
60, 255, 5, 0,
556-
60, 196, 57, 2, //amber (start 61?)
557-
120, 196, 57, 2,
558-
120, 6, 126, 2, //green (start 126?)
559-
180, 6, 126, 2,
560-
180, 4, 30, 114, //blue (start 191?)
561-
255, 4, 30, 114};
554+
0, 184, 4, 0, //red
555+
60, 184, 4, 0,
556+
65, 144, 44, 2, //amber
557+
125, 144, 44, 2,
558+
130, 4, 96, 2, //green
559+
190, 4, 96, 2,
560+
195, 7, 7, 88, //blue
561+
255, 7, 7, 88};
562562

563563
const byte Sakura_gp[] PROGMEM = {
564564
0, 196, 19, 10,
@@ -594,6 +594,17 @@ const byte Atlantica_gp[] PROGMEM = {
594594
180, 196, 57, 2,
595595
180, 137, 85, 2, //yellow
596596
255, 137, 85, 2};
597+
598+
//C9, but brighter and with a less purple blue
599+
const byte C9_new_gp[] PROGMEM = {
600+
0, 255, 5, 0, //red
601+
60, 255, 5, 0,
602+
60, 196, 57, 2, //amber (start 61?)
603+
120, 196, 57, 2,
604+
120, 6, 126, 2, //green (start 126?)
605+
180, 6, 126, 2,
606+
180, 4, 30, 114, //blue (start 191?)
607+
255, 4, 30, 114};
597608

598609

599610
// Single array of defined cpt-city color palettes.
@@ -640,7 +651,8 @@ const byte* const gGradientPalettes[] PROGMEM = {
640651
Sakura_gp, //49-36 Sakura
641652
Aurora_gp, //50-37 Aurora
642653
Atlantica_gp, //51-38 Atlantica
643-
C9_2_gp //52-39 C9 2
654+
C9_2_gp, //52-39 C9 2
655+
C9_new_gp //53-40 C9 New
644656
};
645657

646658
#endif

wled00/wled.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
// version code in format yymmddb (b = daily build)
11-
#define VERSION 2010280
11+
#define VERSION 2011010
1212

1313
// ESP8266-01 (blue) got too little storage space to work with all features of WLED. To use it, you must use ESP8266 Arduino Core v2.4.2 and the setting 512K(No SPIFFS).
1414

0 commit comments

Comments
 (0)