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

BASCOM-AVR : INPUT funcion, Very strange behaviour in serialmatch interru : REPLY

$
0
0
IMPORTANT !!!! I should apologize to everyone since I counted last 0d0a as part of received string in my previous posts (after input function). In one post, MWS pointed to that, but I was too tired and too angry to notice that. I'm sorry. :oops: ------------------------------------------------------------------------------ As MWS suggested, I increased receiving string to 12, 13, 14.... NOW get all string but always getting OA at beginning of string: [code:1:03d734ad84] 0a 31 32 33 34 35 36 37 38 39 30 23 0a 31 32 33 34 35 36 37 38 39 30 23 0a 31 32 33 34 35 36 37 38 39 30 23 0a 31 32 33 34 35 36 37 38 39 30 23 [/code:1:03d734ad84] When declare receiving string back to 11 bytes, as this is amount of data is sended (+CRLF), still getting same data except last character [code:1:03d734ad84]0a 31 32 33 34 35 36 37 38 39 30 0a 31 32 33 34 35 36 37 38 39 30 0a 31 32 33 34 35 36 37 38 39 30[/code:1:03d734ad84] So this is definitive problem......

Viewing all articles
Browse latest Browse all 20596

Trending Articles



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