Rev 349 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 349 | Rev 350 | ||
|---|---|---|---|
| Line 189... | Line 189... | ||
| 189 | TCCR1A |= (1<<COM1A1)|(1<<WGM11); |
189 | TCCR1A |= (1<<COM1A1)|(1<<WGM11); |
| 190 | TCCR1B |= (1<<WGM13)|(1<<WGM12)|(1<<CS10); |
190 | TCCR1B |= (1<<WGM13)|(1<<WGM12)|(1<<CS10); |
| 191 | ICR1 = 0xFF; // Make it 8 bits |
191 | ICR1 = 0xFF; // Make it 8 bits |
| 192 | OCR1A = 0x20; |
192 | OCR1A = 0x20; |
| 193 | DDRB |= (1<<DDB1); |
193 | DDRB |= (1<<DDB1); |
| 194 | - | ||
| 195 | 194 | ||
| 196 | txMsg.ExtendedFlag=1; |
195 | txMsg.ExtendedFlag=1; |
| 197 | txMsg.RemoteFlag=0; |
196 | txMsg.RemoteFlag=0; |
| 198 | 197 | ||
| 199 | sei(); |
198 | sei(); |