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

BASCOM-AVR : Print HEX values UART : REPLY

$
0
0
Well the problem is solved, Kimmi wrote a little Flush routine that makes sure the RX buffers are 100% empty before receiving again,, that solved all my issues :) [code:1:eb7a715c92] Sub Flushbuf(byval Port As Byte) Local Dummie As Byte Waitms 100 '!!!!!!!! very importand timing! Do If Port = 0 Then Dummie = Inkey() If Port = 1 Then Dummie = Inkey(#2) Loop Until Dummie = 0 End Sub [/code:1:eb7a715c92]

Viewing all articles
Browse latest Browse all 20919

Trending Articles



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