samizard
Junior Member level 2
- Joined
- Oct 27, 2017
- Messages
- 23
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 198
hello guys,
i am using pic18f97j60 with c18 compiler and at 9600 baudrate.
currently i want to read response from uart which is a string.
i tried using functions given already -> BYTE ReadStringUART(BYTE *Dest, BYTE BufferLen) and void getsUSART(char *buffer, unsigned char len)
however when my program reaches to either of those functions,everything freezes.
apparently the problem i found was in while(!DataRdyUART()) line
can anyone help me solve this problem
Thanks.
i am using pic18f97j60 with c18 compiler and at 9600 baudrate.
currently i want to read response from uart which is a string.
i tried using functions given already -> BYTE ReadStringUART(BYTE *Dest, BYTE BufferLen) and void getsUSART(char *buffer, unsigned char len)
however when my program reaches to either of those functions,everything freezes.
apparently the problem i found was in while(!DataRdyUART()) line
can anyone help me solve this problem
Thanks.