Re: Serial read misses to read data from the serial port
Originally Posted by mania
I mean the data stored in arr_cReadbuffer is ^MK1 instead of the nBytesReceived is 9
If i were to take a stab at the dark based on the information you provided, I would guess that the fifth byte is a null character and you are reading the bytes as a string. Try printing the bytes 1 at a time in a loop rather than as a string.
Bookmarks