[an error occurred while processing this directive]
|
void isr_usart_1() interrupt 20 //using 2
{
unsigned char c;
SFRPAGE = 0x01;//переключаем страницы
if(RI1) { // if receiver interrupt
c = SBUF1; // read character
RI1 = 0;
SFRPAGE = 0x00;
BB++;
}
E-mail: info@telesys.ru