AnsweredAssumed Answered

best way of monitoring & capturing usart protocol for finding & storing of a desire characters

Question asked by mahmoud on Dec 31, 2014
Latest reply on Dec 31, 2014 by Clive One
hi every one
is there any special function for this purpose ?
i am currently read characters byte by byte and compare them with desire character but i dont know why it does not work some time
my way :
do
R_Buffer=usart_reci(1);//function of receiving characters from usart 1 its work correctly
while( R_Buffer=='o'| R_Buffer=='O');

best regards

Outcomes