Rev 1774 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1774 | Rev 1977 | ||
|---|---|---|---|
| Line 29... | Line 29... | ||
| 29 | #define waitspi() while(!(UCSR0A&(1<<RXC0))) |
29 | #define waitspi() while(!(UCSR0A&(1<<RXC0))) |
| 30 | 30 | ||
| 31 | #define act_DotMatrix_PWM_FACT (256UL*0xff)/10000UL |
31 | #define act_DotMatrix_PWM_FACT (256UL*0xff)/10000UL |
| 32 | 32 | ||
| 33 | 33 | ||
| 34 | |
34 | #ifndef act_DotMatrix_USEEEPROM |
| - | 35 | #define act_DotMatrix_USEEEPROM 0 |
|
| - | 36 | #endif |
|
| - | 37 | ||
| - | 38 | #if act_DotMatrix_USEEEPROM==1 |
|
| 35 | struct act_DotMatrix_Data{ |
39 | struct act_DotMatrix_Data{ |
| 36 | ///TODO: Define EEPROM variables needed by the module |
40 | ///TODO: Define EEPROM variables needed by the module |
| 37 | uint8_t x; |
41 | uint8_t x; |
| 38 | uint16_t y; |
42 | uint16_t y; |
| 39 | }; |
43 | }; |