This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

uart



Hello I am trying to write a function called OutStream() which takes a string array as input and outputs nothing. but i am getting error in keil. can anyone please sugges?


void UART_OutStream(unsigned char buffer[]){

                        while((UART0_FR_R&UART_FR_TXFF) != 0);
                         UART0_DR_R=buffer;
}

Thanks