Integer to numbers - how?
i have integer - let's myint = 3710
and badly need disintegrate pieces int mynumbers[4] mynumbers[0]=3, mynumbers[1]=7, mynumbers[2] = 1, mynumbers[3]=0
how can it?
and badly need disintegrate pieces int mynumbers[4] mynumbers[0]=3, mynumbers[1]=7, mynumbers[2] = 1, mynumbers[3]=0
how can it?

the simplest way let sprintf perform conversion you. google it.
there itoa() function, has less flexibility in how number formatted string. google it.
there itoa() function, has less flexibility in how number formatted string. google it.
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Integer to numbers - how?
arduino
Comments
Post a Comment