Posted 30 Dec 2005 HI: Happy New Year! I have this problem: I need to convert Ascii data to Integer! If the ASCII data are like 123 then Fine ACI Can do the JOB! My problem is when the Value is ^B or FF or G Or ^ R (referred to Micro ASCII Table). THe Value is EMPTY or Nothing. Micro is reading a device that sending ASCII data which all the data have to be converted to integer (HEX) then back to Floating Point. Can Some one help me!!!! Thx Share this post Link to post Share on other sites
Posted 30 Dec 2005 A job like that is best solved on paper first. Record all the ascii values that the device sends. When you look at all the possibilities on paper, you can determine all the methods required to parse the data. Then it's just a matter of hammering out the code in instructions supported by the Micro. There are limitations to the file conversion functions with this processor. I've never used one, only read about the problem ... I'll search through some old posts and look for more details. Paul C. Share this post Link to post Share on other sites