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 Thursday July 5, 2007 at 08:18
SMCSI
Long Time Member
Joined:
Posts:
July 2007
21
The two sets of codes posted are exactly the same, the power on/off doesn't work. I've only recently figured out what I'm doing with makehex so here is my take on it:

1. Get the codes from above e.g.

EXT-1 (Input 1)direct selection for EXT-1 10001 10110111 10

2. The first 5 bits (10001) is the device code.

3. Reverse these 5 bits:

10001 becomes 10001
11001 becomes 10011 etc

4. Convert from binary (10001) to decimal using windows scientific calculator. Click on the radio button BIN, enter 10001 then click on the radio button for DEC and you will get 17. Enter this into the sharp.irp file for makehex

...
Device=17
Function=0..255
...

5. Use file manager to go to the folder where makehex lives and drag the edited sharp.irp file onto makehex.exe. After a couple of second the sharp.hex file will be there with all the possible hex commands.

6 Look at the next 8 bits of the original code above 10110111.

Reverse it so 10110111 becomes 11101101

Put that into the calculator and you get 237 in decimal

7. Open the sharp.hex file with notepad and find function 237

Device Code: 17 Function: 237
0000 006D 0000 0020 000A 0046 000A 001E 000A 001E 000A 001E 000A 0046 000A 0046 000A 001E 000A 0046 000A 0046 000A 001E 000A 0046 000A 0046 000A 0046 000A 0046 000A 001E 000A 0679 000A 0046 000A 001E 000A 001E 000A 001E 000A 0046 000A 001E 000A 0046 000A 001E 000A 001E 000A 0046 000A 001E 000A 001E 000A 001E 000A 001E 000A 0046 000A 0679

Pop into your pronto program or whatever your using and it should do the function for Discrete Ext 1 input.

Hope this helps for now and in the future. Your probably the same as me and just need to get your head round it.


Hosting Services by ipHouse