i have a problem and hope you guys can help me. I am using an 32 bits uC for my project. I receive characters over the Uart from the keyboard to the uC (via Hyper Terminal). Because i only use C, i am storing this characters into an buffer of type char. For example i need to send an address in hexadecimal as a input , something like 0xff502035. I sent it with Hyper Terminal over the Uart, and store it char by char inside my buffer. Then i want to convert this to an integer number (from char) in order to pass it further to my functions which will read the value stored at that location.
So what i need is something like : convert char[] into an int. So if my buffer contains "0xff502035" , i need it as 0xff502035 integer type. Thank you guys in advance for helping me.
Best regards, Laurentiu