Skip to content

Commit 98a3e08

Browse files
committed
Better status messages
1 parent 212382a commit 98a3e08

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

Deevstock/DeevstockDMX/DeevstockDMX.ino

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,11 +264,17 @@ void loop()
264264
}
265265

266266
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+
}
269275
}
270276
EVERY_N_SECONDS( 10 ) {
271-
Serial.println(LEDS.getFPS());
277+
Serial.printf("FPS: %u\n", LEDS.getFPS());
272278
}
273279
soundmems();
274280
gPatterns[pattern].pattern();

Deevstock/DeevstockDMX/colours.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ DEFINE_GRADIENT_PALETTE( pinks_p ) {
55
255, 255, 255, 255
66
};
77

8-
98
DEFINE_GRADIENT_PALETTE( pinkPurple_p ) {
109
0, 84, 0, 153,
1110
64, 153, 0, 142,

0 commit comments

Comments
 (0)