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

BASCOM-AVR : Inputbin versus Inkey : REPLY

$
0
0
you use buffered input. so when ischarwaiting() indicates there is data, you can use waitkey() without any problem. like i said, inkey() will return if no data is in the buffer, but also 0 for a character 0 ! So you can not tell the difference between a 0 byte and no data waiting. that is why you need to use ischarwaiting in combination with waitkey.

Viewing all articles
Browse latest Browse all 20940

Trending Articles



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