Skip to content

Commit 3a4cbe1

Browse files
committed
Update example animations to use new test strings and add delays for better visibility
1 parent 7197618 commit 3a4cbe1

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

examples/TM1637-6Digit-NonBlockingAnimate/TM1637-6Digit-NonBlockingAnimate.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,14 @@ void loop()
161161
Serial.println("Animated Short String Scroll from SRAM");
162162
// non-blocking scrolling of a short string
163163
display.startStringScroll("S-Test", 200);
164+
delay(TEST_DELAY);
164165
break;
165166
case 6:
166167
Serial.println("");
167168
Serial.println("Animated Short String Scroll from PROGMEM");
168169
// non-blocking scrolling of a short string
169-
display.startStringScroll_P("P-Test", 200);
170+
display.startStringScroll_P("F-Test", 200);
171+
delay(TEST_DELAY);
170172
break;
171173
default:
172174
display.showString("The");

examples/TM1637-NonBlockingAnimate/TM1637-NonBlockingAnimate.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,15 @@ void loop()
171171
Serial.println("");
172172
Serial.println("Animated Short String Scroll from SRAM");
173173
// non-blocking scrolling of a short string
174-
display.startStringScroll("STAT", 200);
174+
display.startStringScroll("SRAM", 200);
175+
delay(TEST_DELAY);
175176
break;
176177
case 6:
177178
Serial.println("");
178179
Serial.println("Animated Short String Scroll from PROGMEM");
179180
// non-blocking scrolling of a short string
180-
display.startStringScroll_P("PROG", 200);
181+
display.startStringScroll_P("FLAS", 200);
182+
delay(TEST_DELAY);
181183
break;
182184
default:
183185
display.showString("The");

0 commit comments

Comments
 (0)