Don't ad-block us - support your favorite websites. We have safe, unobstrusive, robotics related ads that you actually want to see - see here for more.
0 Members and 1 Guest are viewing this topic.
//Enable Transmitter and Receiver and Interrupt on receive complete UCSRB=(1<<RXEN)|(1<<RXCIE);//|(1<<TXEN); //enable global interrupts sei();
ISR(USART_RXC_vect){ // Code to be executed when the USART receives a byte here}