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 4 made on Friday March 15, 2019 at 08:36
Barf
Long Time Member
Joined:
Posts:
August 2013
350
It is unclear what you mean by "short IR code". Where did you get it from? What are you trying to achieve?

Likely, your 8-bit number it is the parameter values. Their meaning is described in the document that you linked. A "protocol", like the one described, is simply a way to map parametervalues to an IR signal.

To use with IrScrutinizer, just append these lines



[protocol]
name=lego
irp={38k,1p,msb}<6,-10|6,-21>(6,-39,nibble_1:4,nibble_2:4,F:4,LRC:4,6,-39) \
{ nibble_1 = 8*T:1 | 4*E:1 | D:2, \
nibble_2 = 8*a:1 | mode:3, \
LRC = nibble_1 ^ nibble_2 ^ F:4, \
T = 1-T } \
[T@:0..1=0,a:0..1=0,E:0..1,D:0..3,mode:0..7,F:0..15]


to the end of its IrpProtocols.ini.

Then you just have to assign values to the parameters a, E, D, mode, and F, as per the document.


Hosting Services by ipHouse