Your Universal Remote Control Center
RemoteCentral.com
Discrete Code Hunter Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 8 made on Monday August 21, 2006 at 18:57
stereoguy823
Advanced Member
Joined:
Posts:
February 2005
885
John, thank you for the help. I'm nearly there....

On August 21, 2006 at 09:46, johnsfine said...
The first part 10001 is the device number in backwards
binary. 10001 happens to be the same backwards or fowards.
It is the binary for decimal 17. So with MakeHex, you
would use the sharp.irp file and set the device number
to 17.

That's great, but HOW did you get to 17? I know you said it is. I am no mathematician and would welcome any pointers in calculating this.

The next two parts 101101 11 together are the function
number in backwards binary. So you put them together
and reverse the sequence to get 11101101. Then convert
from binary to decimal to get 237.

That's just it, I would like to know how to convert from binary to decimal!

People who know a little more about Excel than I do, would
be able to tell you how to write an Excel formula that
would concatenate those two fields, textually reverse
the result, and then convert from binary to decimal.

The last part 10 just tells you it is Sharp protocol,
rather than Denon. I assume that part is the same for
all the signals in your file.

Correct, all codes finish in 10.

When you run MakeHex for Sharp device 17, you get all
256 possible functions. Then you use the function numbers
computed as described above (the way I got that 237) to
select and label functions from the MakeHex output. That
can be done one ProntoHex string at a time directly from
the .hex file to ProntoEdit, or you might find it easier
to use IrPanels.exe to convert MakeHex output to a CCF
file with numbered buttons and then merge that whole CCF
into your own config.

The extra digits on the end are the same info, but in
hex rather than in backwards binary. That would simplify
the Excel formula needed to convert to decimal.

As I stated above, you just put the device number into
makehex (via sharp.irp). You don't edit the "function=0..255"
line already in sharp.irp. Then you use the function
numbers computed from the Excel file to select from the
makehex output.

Agreed, I now have 255 discrete hex codes. But If anyone can tell me how to calculate the binary to decimal were all done.
John your help is legendary, I have read so many posts where you happily give your time and knowledge to others readily. Thanks.
Sticking to what I'm good at.


Hosting Services by ipHouse