[an error occurred while processing this directive]
|
interrupt [UART0_RX_vect] void UART0_RX_interrupt(void) {
PORTB = 0x0f;
}
..............
..............
void main(void) {
UCSR0B = 0x18; // TXEN=1 RXEN=1
UBRR0 = 23; // 9600 for 3.6864 MHz
_SEI();
for (;;) { }
}
E-mail: info@telesys.ru