Closed RedSalsicha closed 3 months ago
Hello
you are right, it comes from a mismatch between the code length and the data size you provide to be sent. The code length says 40 bits = 5 bytes to hold it. This means, you have to provide 5 bytes whenever you call the send method.
To fix, you have to add a byte to the code list, that is:
you replace byte data[] = { 0x03, 0x14, 0x15, 0x93 };
with (for example) byte data[] = { 0x9a, 0x03, 0x14, 0x15, 0x93 };
Regards, Sébastien Millet
Perfect.
I took the DATA information I got from RF433any, which was "Data: 4a 0c 00 91 01" and added the 0x to the beginning and it worked:
byte data[] = { 0x4a, 0x0c, 0x00, 0x91, 0x01 };
Thanks.
Hi
Firstly, I would like to congratulate you on the excellent libraries and the excellent work, which is of great help.
However, I've been struggling for a few days trying to send the code for a control that "RF433any > 01_main" returned the code below:
However, when trying to use it in "RF433 > 01_send" with the code below:
I get the following error:
I believe it could be something like "byte data[] = { 0x03, 0x14, 0x15, 0x93 };" because the data obtained is actually 5 bytes long, if this is really the problem, how can I get this correct data with 5 bytes long?