-
BufferCounter in Hserin
Dear all,
i want to read a serial string buffer via the RX pin using Hserin, but the buffer is more than 255 bytes:
hserin 10,Label,[str buffer\1000]
is there a way to know when this procedure terminates what is the number of read bytes (from 0 to 1000).
Before, i was using 50 bytes instead of 1000, and i was getting the number of read bytes via R4.highbyte (BufferCounter = 50 - R4.highbyte), it was working good,
now the read bytes are more than 255, any help ?? :confused:
i am using PIC18F4620
Thank you.