Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20574

BASCOM-AVR : Input -> parsing string : REPLY

$
0
0
Hi All, i have the same problem but i dont get a solution. I try to read the first byte in an arr's first and then the rest into the second part of this array, this is what i unterstand in the help statement to "INPUT" I looks good inside the simulator but my Do until Loop did not accept this to strings :-( [b:96b5cca99a]My Dim:[/b:96b5cca99a] Dim Ser_buf(2) As String * 40 Dim Nmeaheader As String * 40 Ser_buf(2) = "" S11 = "" Nmeaheader = "$GPGGA" [b:96b5cca99a]My Input :[/b:96b5cca99a] Input Ser_buf(1) ; 1 , Ser_buf(2) ; 40 [b:96b5cca99a]My Do Loop:[/b:96b5cca99a] Do S11 = Left(ser_buf(2) , 7) Loop Until S11 = Nmeaheader It allways looks identical but i never left the do loop :-( Can anyone help ? :roll:

Viewing all articles
Browse latest Browse all 20574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>