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 2 made on Wednesday May 20, 2015 at 12:33
Barf
Long Time Member
Joined:
Posts:
August 2013
350
Wow. This is re-inventing the wheel. The NEC protocol is well known, and implemented in a number of different programs and equipment. Please check out IrScrutinizer, it will save you a lot of time.

The good news is that you got the numbers right! Your hex signal decodes as NEC (NEC2 really), D=141, and F=9. But note that "MSB" or "LSB" is nothing than how you interpret the parameters. For example, 141 = 0x8D = 0b10001101, Read it backwards, and you have 0b10110001 = 0xB1 (= 177), which is exactly the device number you came up with! (IrScrutinizer contains a nice "pocket calculator" for this, btw.) (In Java, this is the function Integer.reverse(int), btw.)


Hosting Services by ipHouse