Microcontroller › PIC › RECEIVER PROBLEM IN UART › checking of receive code is
February 22, 2014 at 1:02 pm
#11081
Ashutosh Bhatt
Participant
checking of receive code is very simple
you will get ASCII characters for each letter or digit. like 0x31 for digit 1 0x41 for letter A like wise.
mostly you will get string of such ASCII characters from any device like GSM modem or GPS receiver.
so what you have to do is store this command in string – character type array
then just compare string using strcmp command in C language