File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -264,11 +264,17 @@ void loop()
264
264
}
265
265
266
266
EVERY_N_SECONDS ( 2 ) {
267
- Serial.print (" pattern = " );
268
- Serial.println (gPatterns [pattern].name );
267
+ if (pattern == 0 ) {
268
+ Serial.print (" auto pattern = " );
269
+ Serial.println (gAutoPatterns [gCurrentPatternNumber ].name );
270
+ }
271
+ else {
272
+ Serial.print (" pattern = " );
273
+ Serial.println (gPatterns [pattern].name );
274
+ }
269
275
}
270
276
EVERY_N_SECONDS ( 10 ) {
271
- Serial.println ( LEDS.getFPS ());
277
+ Serial.printf ( " FPS: %u \n " , LEDS.getFPS ());
272
278
}
273
279
soundmems ();
274
280
gPatterns [pattern].pattern ();
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ DEFINE_GRADIENT_PALETTE( pinks_p ) {
5
5
255 , 255 , 255 , 255
6
6
};
7
7
8
-
9
8
DEFINE_GRADIENT_PALETTE ( pinkPurple_p ) {
10
9
0 , 84 , 0 , 153 ,
11
10
64 , 153 , 0 , 142 ,
You can’t perform that action at this time.
0 commit comments