Rev 1775 | Rev 1910 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1775 | Rev 1776 | ||
|---|---|---|---|
| Line 51... | Line 51... | ||
| 51 | gpio_clr_pin(act_DotMatrix_ROW_IO6); |
51 | gpio_clr_pin(act_DotMatrix_ROW_IO6); |
| 52 | gpio_clr_pin(act_DotMatrix_ROW_IO7); |
52 | gpio_clr_pin(act_DotMatrix_ROW_IO7); |
| 53 | gpio_clr_pin(act_DotMatrix_ROW_IO8); |
53 | gpio_clr_pin(act_DotMatrix_ROW_IO8); |
| 54 | 54 | ||
| 55 | /* Write one column of frame buffer to shift registers */ |
55 | /* Write one column of frame buffer to shift registers */ |
| 56 | act_DotMatrix_SPIWrite(act_DotMatrix_framebuf[act_DotMatrix_row_counter][ |
56 | act_DotMatrix_SPIWrite(act_DotMatrix_framebuf[7-act_DotMatrix_row_counter][3]); |
| 57 | act_DotMatrix_SPIWrite(act_DotMatrix_framebuf[act_DotMatrix_row_counter][ |
57 | act_DotMatrix_SPIWrite(act_DotMatrix_framebuf[7-act_DotMatrix_row_counter][2]); |
| 58 | act_DotMatrix_SPIWrite(act_DotMatrix_framebuf[act_DotMatrix_row_counter][ |
58 | act_DotMatrix_SPIWrite(act_DotMatrix_framebuf[7-act_DotMatrix_row_counter][1]); |
| 59 | act_DotMatrix_SPIWrite(act_DotMatrix_framebuf[act_DotMatrix_row_counter][ |
59 | act_DotMatrix_SPIWrite(act_DotMatrix_framebuf[7-act_DotMatrix_row_counter][0]); |
| 60 | /* Add more here to support 8-module panels */ |
60 | /* Add more here to support 8-module panels */ |
| 61 | 61 | ||
| 62 | /* Toggle shift register latch */ |
62 | /* Toggle shift register latch */ |
| 63 | gpio_clr_pin(act_DotMatrix_LATCHCLOCK_IO); |
63 | gpio_clr_pin(act_DotMatrix_LATCHCLOCK_IO); |
| 64 | gpio_set_pin(act_DotMatrix_LATCHCLOCK_IO); |
64 | gpio_set_pin(act_DotMatrix_LATCHCLOCK_IO); |