Hi,
I'm trying to modify a 9S08JM code for a MCF51JM target.
But the sprintf function doesn't work the same on theses 2 targets...
With the 9S08 :
var = 12 ;
sprintf(temp, "%04d", var) ;
==> temp = "0012" ==> OK
With the MCF :
==> temp = "12" ==> NOK...
Perhaps some directives ? Or a special CW configuration ?
Thanks for your answers.
Yvan