K KiroloesAmir New Member Jan 5, 2021 #1 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
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
K KeepItSimpleStupid Well-Known Member Most Helpful Member Jan 5, 2021 #2 printf STR() https://www.coridium.us/files/ARMbasic.pdf#page=209 pascal assembly Fortran APL Basic basic - what varient
printf STR() https://www.coridium.us/files/ARMbasic.pdf#page=209 pascal assembly Fortran APL Basic basic - what varient
Ian Rogers User Extraordinaire Forum Supporter Most Helpful Member Jan 5, 2021 #3 I use Atoi() for simplicity... It requires a singe parameter... a pointer to the string, and returns a integer..
I use Atoi() for simplicity... It requires a singe parameter... a pointer to the string, and returns a integer..
P Pommie Well-Known Member Most Helpful Member Jan 5, 2021 #4 I also use atoi () - ascii to integer function. Mike.