Until now unable to understand; how i use your code?
Run it after collecting the data in the array
how this code converts my char array value into HEX??
It prints the contents of the array, it does not convert it
When you say that you want to convert the array value into HEX what do you mean ?
Do you mean that if a row of the array contains '0' '9' 'C' '4' you want to put it into a variable and give it the value of 0x09C4 or something else ?