what is the function that convert string to integer?

Status
Not open for further replies.

KiroloesAmir

New Member
what is the function that convert string to integer?
I want to convert the received data from serial port to integer value
this value will be used in determining rotation angle of servo motor using AT89S52 with oscillator 16Mhz
please replay
 
I use Atoi() for simplicity... It requires a singe parameter... a pointer to the string, and returns a integer..
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…