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

BASCOM-8051 : Automatic covertion to ASCII problem : REPLY

$
0
0
i have no idea what you mean :D where do you get the letter from ? Do you read this from the serial port or keyboard or what? Anyway say you have a string with value "100" ., you can use VAL() to convert it to a numeric value. Say you have "1" you can use ASC() to get the ascii value and the subtract 48 from it. Just some ideas.

Viewing all articles
Browse latest Browse all 20605

Trending Articles



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