Hello,
I have written some code to receive the serial data in proper way. Everything seems working but somtimes i got this exception which i neither understand. I have explictly specified the length as 1 in Mid function. However, still the exception arises due to length less than zero which is set to one:upset:.
where i am doning wrong with this error.
I have written some code to receive the serial data in proper way. Everything seems working but somtimes i got this exception which i neither understand. I have explictly specified the length as 1 in Mid function. However, still the exception arises due to length less than zero which is set to one:upset:.
where i am doning wrong with this error.