eng.hasan.power
Member level 1
Hi everyone,
im facing a little problem,
i wanna convert from Hex to String,
i have tempSPI[4],,,which contains the string value represented by HEX,,,
for example, 0x41 which is equal A
i wanna display that ,
i wrote that,
for (i=0;i<4;i++)
{
printf("%02x",tempSPI);
}
but i receive an error
Error - section '.romdata_GenericTCPClient.o' can not fit the section. Section '.romdata_GenericTCPClient.o' length=0x00000033
is there is an easy way to do it, without printf, or to avoid that error
thanks all
im facing a little problem,
i wanna convert from Hex to String,
i have tempSPI[4],,,which contains the string value represented by HEX,,,
for example, 0x41 which is equal A
i wanna display that ,
i wrote that,
for (i=0;i<4;i++)
{
printf("%02x",tempSPI);
}
but i receive an error
Error - section '.romdata_GenericTCPClient.o' can not fit the section. Section '.romdata_GenericTCPClient.o' length=0x00000033
is there is an easy way to do it, without printf, or to avoid that error
thanks all