Sending analog value to Com port

Status
Not open for further replies.

darshan.sachde

Newbie level 1
Joined
Jul 18, 2012
Messages
0
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,280
Activity points
1,280
i am transferring a value written on port pin of uC. While transferring it serially, I am getting ASCII value at computer side whereas I require the decimal value...
How do I get the decimal value at my computer side?
 

To get your own value use "terminal" software. :razz:
 

You must remember, your PC is expecting an ASCII value.

Also keep in mind that many of the 256 possible values are not printable, like a bell chime for instance.

To effectively transmit data to a PC you must either convert the numerical value to an ASCII string before sending it to a PC
or write your own software app which can handle the data in a specific manner.

BigDog
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…