dizgah
Member level 5
- Joined
- Nov 8, 2009
- Messages
- 91
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- iran-8par
- Activity points
- 2,049
best way of monitoring & capturing usart protocol for find & storing of a character
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 :
best regards
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 :
Code:
do
R_Buffer=usart_reci(1);//function of receiving characters from usart 1 its work correctly
while( R_Buffer=='o'| R_Buffer=='O');