I cannot receive data using the SIGNAL with ATmega8, below are part of my code.
/* UART received handler signal */
unsigned char data;
unsigned char temphead;
data = "">
temphead = (WriteBufPos+1) & UART_RX_BUFFER_MASK;
WriteBufPos = temphead;
//process receive buffer.
if(WriteBufPos > 5)
The LED is never ON.
Can anyone help? Thanks in advance.
I am using avr-lib-1.4.4.