1
Answer

convert an ascii string number to a decimal number ?

jhu jkh

jhu jkh

15y
3.7k
1
Hi all, From a UART connection I´m getting the following string "/XCC0001011111111111" and i need to discard the "/XCC00" part and convert the ascii code "01011111111111" to a dicimal or hex number. But i don´t know how to do this - so please help me :-)
Answers (1)
0
Abhimanyu K Vatsa

Abhimanyu K Vatsa

NA 50.9k 12.4m 13y
Look at the Sam's Post to learn basics of ADO etc.

Read this post, it will full-fil your ask. here you will find a working example too.

http://www.c-sharpcorner.com/UploadFile/abhikumarvatsa/1605/
0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 13y

Look at the following. I know that the Forms section is quite large, but you will see the abundance of useful material.