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?
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.