Skip to content

Commit

Permalink
Eliminate a display glitch.
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Aug 30, 2013
1 parent d3c0154 commit 70485a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Charliplexing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -523,10 +523,10 @@ ISR(TIMER1_COMPA_vect) {

if (page < SHADES - 1) {
const uint16_t data = *displayPointer++, dir = data | (1 << (cycle+2));
DDRD = dir;
PORTD = data;
DDRB = (dir >> 8);
PORTB = (data >> 8);
DDRD = dir;
DDRB = (dir >> 8);
}
#endif

Expand Down

0 comments on commit 70485a5

Please sign in to comment.