Hi
The mplab c30 compiler does not support itoa() function.
how do I change a hex number ie 0x55 to become a char '55' without using the printf().
Thanks
I found this hard to believe and so, I just tried the following,
Code:
#include <p30f2010.h>
unsigned int x;
unsigned char outchar;
int main(void){
x = 0x45;
outchar=(char)x;
x = 0x45;
outchar=x&0xff;
x = 0x45;
outchar=x;
while(1);
}
It did exactly what I expected it to do.
Maybe you should post an example of what doesn't work.