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

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

$
0
0
I use buffered serial data on m2560 with 4 uarts. and it never gave a problem. But the problem seems to be the INPUT. When a new feature is added, like config input, i sometimes add such a feature to one device. Like the first UART. When nobody uses such a function there is not much point in wasting time so when users request the functionality for other hardware, i add it. And otherwise only one device has some more functionality than others. Not a problem when it is mentioned in the help. In this case the HELP was not correct : for some reason all the UARTS were added instead of just INPUT1. Maybe it was done when the help was updated for the xmega.(xmega supports it on all channels) I found this note in the history : NOTE : THIS works only for UART0. When we get positive feedback about this opion it will be added to other UARTS as well The normal INPUT just looks for CR. Not a problem when a LF is following. But when you buffer all data, this is a problem when the sender can not send just an LF.

Viewing all articles
Browse latest Browse all 20599

Trending Articles



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