Mehr Delay, kein Serial
This commit is contained in:
parent
2ca8764788
commit
0d263dda8d
|
@ -43,9 +43,7 @@ void setup()
|
||||||
{
|
{
|
||||||
matrix.begin();
|
matrix.begin();
|
||||||
matrix.setTextSize(1);
|
matrix.setTextSize(1);
|
||||||
Serial.begin(9600);
|
|
||||||
matrix.setTextWrap(false);
|
matrix.setTextWrap(false);
|
||||||
Serial.println("Setup Done");
|
|
||||||
currColor[0] = colors[random(NUM_COLORS)];
|
currColor[0] = colors[random(NUM_COLORS)];
|
||||||
currColor[1] = colors[random(NUM_COLORS)];
|
currColor[1] = colors[random(NUM_COLORS)];
|
||||||
|
|
||||||
|
@ -77,11 +75,11 @@ void loop()
|
||||||
matrix.setCursor(text[1].pos, 8);
|
matrix.setCursor(text[1].pos, 8);
|
||||||
matrix.setTextColor(currColor[1]);
|
matrix.setTextColor(currColor[1]);
|
||||||
matrix.print(text[1].text);
|
matrix.print(text[1].text);
|
||||||
|
|
||||||
portDISABLE_INTERRUPTS();
|
portDISABLE_INTERRUPTS();
|
||||||
delay(1);
|
delay(5);
|
||||||
matrix.show();
|
matrix.show();
|
||||||
delay(1);
|
delay(5);
|
||||||
portENABLE_INTERRUPTS();
|
portENABLE_INTERRUPTS();
|
||||||
|
|
||||||
changed=false;
|
changed=false;
|
||||||
|
|
Loading…
Reference in New Issue