Hi friends,
First of all I'm sorry for my English.
I'm triying to clone an IR remote control for a Canon VC-C4 camera.
I don`t have control with me.
I was looking for the codes and I found some RAWCODES (not for VC-C4, but VC-C3) like this one:
RAWCODE 1: 0000 006d 0022 0002 0156 00ab 0016 0040 0015 0015 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0040 0016 0015 0015 0040 0016 0040 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0040 0016 0015 0015 0040 0016 0015 0015 0040 0016 0015 0015 0015 0016 0015 0016 0015 0015 0040 0016 0015 0015 0040 0016 0015 0015 0040 0016 0040 0016 0040 0015 06a0 0156 0056 0016 0e57
How can I send this code to the camera?
Must I need to convert first to DECIMAL ?
One friend said me that I must convert all these hex numbers to decimal, create an array and send it to the camera using the sentence below, but it doesn`t work:
unsigned int S_pwr3[76]={0, 109, 34, 2, 341, 172, 21, 64, 22, 21, 21, 21, 22, 21, 22, 21, 21,21, 22, 21, 22, 64, 22, 21, 22, 64, 22, 64, 21, 21, 22, 21, 22, 21, 21, 21, 22, 21, 22, 62, 22, 64, 21, 64, 22, 64, 22, 21, 22, 21, 21, 21, 22, 21, 22, 21, 21, 21, 22, 21, 22, 21, 21, 64, 22, 64, 22, 64, 21, 64, 22, 1696, 341, 86, 22, 3672};
for (int txCount = 0; txCount < REPEAT_TX; txCount++) {
irsend.sendRaw(S_pwr3,76,38); // Change to match your remote protocol
delay(500); // El numero de enmedio son los bits del array
Can you help me ?