This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define HSYNC 8 | |
#define VSYNC 16 | |
#define ROWS 261 | |
const byte buf[1][200] = { | |
{ 0, 5, 4, 3, 2, 1, 6, 7, 1, 2 , 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2 /* 100 */, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2, 0, 5, 4, 3, 2, 1, 6, 7, 1, 2 /* 200 */ } | |
}; | |
#define SETC(x) PORTB = (PORTB & ~7) | x |