I don't understand the logic of this command. When we say
does it store all coming data in uart_rd[0]? Is there any way to store daha not in just one sector but in all array extended?
I mean not
but
Code:
if(UART1_Data_Ready())
uart_rd=UART1_Read();
I mean not
Code:
uart_rd[0]= 'data'
Code:
uart_rd[0]='d';
uart_rd[1]='a';
uart_rd[2]='t';
uart_rd[3]='a';