Rev 2213 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 2213 | Rev 2214 | ||
|---|---|---|---|
| Line 22... | Line 22... | ||
| 22 | 22 | ||
| 23 | #endif |
23 | #endif |
| 24 | 24 | ||
| 25 | #define dotmatrixSIZEX GRAPHICS_WIDTH |
25 | #define dotmatrixSIZEX GRAPHICS_WIDTH |
| 26 | #define dotmatrixSIZEY GRAPHICS_HEIGHT |
26 | #define dotmatrixSIZEY GRAPHICS_HEIGHT |
| - | 27 | #if dotmatrixSIZEY % 8 !=0 |
|
| - | 28 | #error Dotmatrix display only supports screen sizes of multiples of 8 in Y direction |
|
| - | 29 | #endif |
|
| - | 30 | #if dotmatrixSIZEX % 32 !=0 |
|
| - | 31 | #error Dotmatrix display only supports screen sizes of multiples of 32 in X direction |
|
| - | 32 | #endif |
|
| 27 | 33 | ||
| 28 | #define dotmatrixINITIAL_ROW 0x0 |
34 | #define dotmatrixINITIAL_ROW 0x0 |
| 29 | 35 | ||
| 30 | #define USART_SPI_CS_DDR DDRC |
36 | #define USART_SPI_CS_DDR DDRC |
| 31 | #define USART_SPI_CS PC0 |
37 | #define USART_SPI_CS PC0 |