Yes, I see this is the function call that calls the byte_to_ascii_hex function.
But, the actual function is:
byte_to_ascii_hex( char value_to_convert, char converted_value[]);
This is my question. How is the variable converted_value[0] and converted_value[1] as in the
listing, associated with &command_response[2] ?
I am thinking that passing &command_response[2] and then the byte_to_ascii_hex function accepts that argument, (&command_response[2]), as the base address of converted_value[] ?.
So, converted_value[0] is also command_response[2]
and converted_value[1] is also command_response[3] (?)
I have not used that procedure in my limited C programming in the past.
Also, I am using a compiler for the Atmel AVR devices, but no problem in
using the C18 code ( where applicable) is still just 'C'.
Thanks for your assistance.