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

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

$
0
0
[quote:f034acaf2d]you say the code is exactly the same, but it isnt[/quote:f034acaf2d] What I mean is that configuration for both com ports is same regarding speed and buffers size. And interrupt routine is same logic : get received bytes with input and print it.... So both com ports should work same way... But thay don't. [quote:f034acaf2d]When using "Input" command, the ending chars on sending and receiving side must be the same. A terminal sends CRLF on the end of the message. (CR = ascii 13 , LF = ascii 10) So when receiving from a terminal, you have to use Config input = CRLF[/quote:f034acaf2d] I did that.... [code:1:f034acaf2d]echo off config input = crlf , echo = crlf config input1 = crlf , echo = crlf[/code:1:f034acaf2d] So problem still exist... No one offer nothing useful yet.

Viewing all articles
Browse latest Browse all 20563

Trending Articles



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