I am working on small project just to send and receive some data over EUSART with PIC18F26k22
Since I am new to all this I have successfully created project in MPLAB X, configure device using MCC (EUSART1 and EUSART2)
and successfully compiled it with XC8.
Since I will use only EUSART2, MCC generated two function EUSART2_Read() and EUSART2_Write()
Can someone show me how to use them for this problem:
Over terminal bunch of text is sent, for example:
house:XXX // XXX represent number in format 000-255
How to use EUSART2_Read() function just to read string that contains "house:" and convert XXX to a number and store it in variable ?