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

BASCOM-AVR : Inputbin versus Inkey : REPLY

$
0
0
But is it not true that the combination of Ischarwaiting and Inkey also works ? If Ischarwaiting is true, then there is a char in the buffer, so Inkey gets the char. If its 0 it still gets interpreted properly. There is no case I can see where inkey can falsely get a zero in this construction. [code:1:c57f0d1d45] If Ischarwaiting() > 0 then bk = inkey() ... end if [/code:1:c57f0d1d45]

Viewing all articles
Browse latest Browse all 20622

Trending Articles



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