read a hex string over UART for PIC Microcontrollers in C using mikroC for PIC
I’m using a PIC18F microcontroller with mikroC PRO for PIC.
The PIC micro reads strings over the UART, which Software implemented because there is only one UART, and I need two.
I’m trying to write a copy of **“void UARTx_Read_Text(char Output, char Delimiter, char Attempts);” function and my code seem reluctant and suboptimal.
Can anyone please help me improve my code?
Thanks to all the answers,
Yishai,
read a hex string over UART for PIC Microcontrollers in C using mikroC for PIC
I’m using a PIC18F microcontroller with mikroC PRO for PIC.
The PIC micro reads strings over the UART, which Software implemented because there is only one UART, and I need two.
I’m trying to write a copy of **“void UARTx_Read_Text(char Output, char Delimiter, char Attempts);” function and my code seem reluctant and suboptimal.
Can anyone please help me improve my code?
Thanks to all the answers,
Yishai,