Helligkeit, Geschwindigkeit

This commit is contained in:
Peter 2019-12-28 02:52:57 +01:00
parent f33971691c
commit cd0eeaf5c3
1 changed files with 7 additions and 4 deletions

View File

@ -18,15 +18,18 @@ void setup(){
} }
void loop(){ void loop(){
Serial.println(i);
matrix.setCursor(i,0);
matrix.fillScreen(matrix.Color(0,0,0)); matrix.fillScreen(matrix.Color(0,0,0));
matrix.print(F("/usr/space")); matrix.setCursor(i,0);
matrix.setTextColor(matrix.Color(0,0,128));
matrix.print("/usr/space @36C3");
matrix.setTextColor(matrix.Color(64,0,0));
matrix.setCursor(i*3,8);
matrix.print("Sticker Exchange Sticker Exchange");
portDISABLE_INTERRUPTS(); portDISABLE_INTERRUPTS();
delay(1); delay(1);
matrix.show(); matrix.show();
portENABLE_INTERRUPTS(); portENABLE_INTERRUPTS();
if(--i<-11*6) if(--i<-16*6)
i=matrix.width(); i=matrix.width();
delay(249); delay(249);
} }