This explode my pic16f648 a memory!!
That shouldn't happen, and if it is happening, your first priority
should be to find out why. The two most plausible failure mechanisms:
failure to #include <stdio.h>, or 'temperature' has a type other float
or double. If neither of those is the problem, then if you want our help
to figure out the problem, you need to provide more information:
1. a short, complete, compilable piece of code demonstrating the problem.
2. The complete set of commands you used to compile and link it.
3. The exact symptoms you observed when it failed. If there was an error
message of any kind, the full text of that message is needed if we're to
find out what went wrong.
I am using PICC Light ( as a retired I can't afford a pro )
So does anyone know about a way to convert float to ascii without using
printf??
You could use sprintf(). However, there's a good chance that whatever
caused the printf() problem will also occur if you use sprintf().
You could also try writing your own dtostr() function. However, the
details of such a function are a bit complicated, and it's probably much
simpler to figure out what went wrong with your printf() call, than it
would be write dtostr().