Moved eyes animation to middle of display; changed intro display.

This commit is contained in:
Dirk Jahnke 2019-01-30 13:29:10 +01:00
parent 215be19b47
commit 2588d8beb5
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ void Display::begin() {
P.begin(); P.begin();
// P.setZoneEffect(0, true, PA_FLIP_LR); // P.setZoneEffect(0, true, PA_FLIP_LR);
graphicDisplay = P.getGraphicObject(); graphicDisplay = P.getGraphicObject();
E.begin(graphicDisplay); E.begin(graphicDisplay, 1); // start at 2nd module, count starts with 0
P.setIntensity(1); P.setIntensity(1);
for (charCode=1; charCode<=9; ++charCode) { for (charCode=1; charCode<=9; ++charCode) {
@ -59,7 +59,7 @@ void Display::begin() {
// replace the 0 characters, we do not like the "slash" // replace the 0 characters, we do not like the "slash"
P.addChar('0', newZero); P.addChar('0', newZero);
char intro[] = {':', '-', ')', ' ', 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x00}; char intro[] = {' ', 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x00};
P.print(intro); P.print(intro);
} }