Skip to content

Commit

Permalink
tweaked delays
Browse files Browse the repository at this point in the history
  • Loading branch information
verilog-indeed committed Aug 12, 2022
1 parent 1b9a98f commit cf708ad
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions USER/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ int smileyGlyph[8] = {0b00000,
0b00000,
0b00000};

int sadGlyph[8] = {0b10001,
0b00000,
0b00100,
int sadGlyph[8] = {0b00000,
0b01010,
0b00000,
0b00000,
0b01110,
0b10001,
Expand All @@ -46,11 +46,12 @@ int main(void) {
LCD_WriteString(message);
for (int i = 0; i < 40; i++) { //shift entire display to the right until it wraps back around where it started
LCD_DisplayShift(true);
LCD_DelayMS(1);
LCD_DelayMS(10);
}
LCD_DelayMS(300);
LCD_DelayMS(1000);
counter++;
}
}



0 comments on commit cf708ad

Please sign in to comment.