Do these new learned codes work on the Pronto? Is it possible they work if you press button repeatedly vs pressing and holding?
I took the clean learn data (0000 codes) and decoded with IR Scrutinizer as follows:
UP = NEC1 protocol
Device = 2 - 0x02
Subdevice = 239 - 0xEF
Function = 2 - 0x02
DOWN = NEC1 protocol
Device = 2 - 0x02
Subdevice = 239 - 0xEF
Function = 13 - 0x0D
The reason I ask if the new learned codes work is because they basically conform to what your original manufacturer's documentation specifies with a little twist that the bits in each byte are reversed.
For each NEC1 IR code, there are 4 bytes which are as follows for UP:
0x02 0xEF 0x02 0xFD - This last byte is obtained by inverting the bits in byte #3.
Your original data was as follows:
IR Connection 0x40F7 (This is usually a Device-SubDevice pair).
In binary 0x40F7 is 16 bits as follows:
01000000 11110111
So, if you reverse each group of 8 bits (a byte), you get
00000010 11101111
which is 0x02 0xEF and is exactly what Scrutinizer decoded for device and subdevice.
Now, UP according to documentation is function 0x40 which in binary is 01000000. Reversing the bits, you get 00000010 which is 2 in decimal or 0x02 which is exactly what Scrutinizer decoded.
Now, DOWN is listed as Function 13 (0x0D) in binary is 00001101.
Reversing those bits you get 10110000 which is 0xB0.
If you need assistance converting between hexadecimal, binary, and decimal, use Windows Calc.exe in Programmer mode.
Last edited by Lyndel McGee on November 12, 2021 02:53.