So here's the problem as far as I understand it so far, I have a device and I am trying to send it commands from the propeller and I'm using C. I wanted to use a single line to send the commands such as
dprint(r302, "%c%c%c%c%c%c%c%c%c", 0x7e, 0xff, 0x06, 0x0f, 0x00, 0x01, 0x02, 0xef, 0xef);
I belive my problem is with having to send the "0x00". if I send the string with no "0x00" it works fine, when I use writeChar(r302, 0x00) and send everything individually it works also.
so my question, is there a way to use a single line to send a string with a "0x00" within it?