0

我在这段代码中遇到错误......任何人都可以告诉这个解决方案

void interrupt ISR (void)

{

  if (RCIF == 1)     //*error: expected ';' after top level declarator***

  {
    UART_Buffer = RCREG; // Read The Received Data Buffer

    PORTB = UART_Buffer; // Display The Received Data On LEDs

    RCIF = 0; // Clear The Flag
  }
}
4

0 回答 0