Hi :)

anyone can help me for my problem

1) how to convert 'unsigned char' to 'unsigned int' ...
2) need more idea about casting for embedded c

after making some calculation , value from char typed array element are changed some unknown value which can't be handled.

Wanna know ........... :(
help me to solve it out...
thanks in advance :icon_razz:

You mean something like:

unsigned char a = '0';
unsigned int b =a;

'b' will now be 48. That's the ASCII-value of '0' (zero)

Hi :)

anyone can help me for my problem

1) how to convert 'unsigned char' to 'unsigned int' ...
2) need more idea about casting for embedded c

after making some calculation , value from char typed array element are changed some unknown value which can't be handled.

Wanna know ........... :(
help me to solve it out...
thanks in advance :icon_razz:

There is no need to convert by default unsigned char will be promoted to unsigned int .