On April 5, 2006 at 23:19, StephenPM said...
I know the MakeHex program will generate Denon
codes, but I'm too lazy to figure out the input
format.
You did quite a lot of work to avoid that small amount of "figure out", most easily done by a forum search to one of MANY threads in which the Sharp/Denon form of documenting IR signals is translated to the input form used by MakeHex.
From the Denon documentation for the "Stereo"
command:
System Address (C1-C5) = 00110
Command (C6-C11) = 101110
Extension Bit (C12-C13) = 01
The non obvious facts you need are:
1) These binary codes are backwards, so 00110 backwards binary is 12 decimal.
2) The System Address is what MakeHex calls "device", so you need to edit the Denon.irp file to set device=12
3) The command and Extention TOGETHER are what MakeHex calls "function" so you take 10111001 and translate from backwards binary to decimal to get 157. So this would be function 157 in the output from MakeHex.