hex to char problem
i am trying to communicate serially with a camera through my microcontroller
i have to send hex command 56:00:26:00
the uart function only takes in char pointer to send the data
so in char, command is V:nullchar:&:nullchar
nullchar terminates the flow and only V is sent
pl suggest something.
First suggestion: try to describe your problem in a way that mere mortals, other than yourself, can understand.
Have you tried sending "56:00:26:00" as a C-style string?
If it is a Canon Camera, take a look at CHDK, you'd find many of this kind of Questions answered in their developer Wiki.
Originally Posted by rups21489