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

Login:
Pass:
 
 

Topic:
Possible Makehex bug
This thread has 5 replies. Displaying all posts.
Post 1 made on Friday November 11, 2005 at 04:25
m2mike
Long Time Member
Joined:
Posts:
August 2005
22
I am trying to generate NEC1 codes with device 4 and I get the following for function 0.

0000 006D 0022 0002 0157 00AC 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0689 0157 0056 0015 0E94

I am simply dragging the included NEC1.irp file (that comes with Makehex) to the Makehex program. Why does it repeat twice without me specifying it to repeat?

The IRP file looks like this:

Device=4
Function=0..255

Protocol=NEC
Frequency=38000
Time Base=564
One=1,-3
Zero=1,-1
Prefix=16,-8
Suffix=1,-78
R-Prefix=16,-4
R-Suffix=1,-174
Default S=~D
Form=*,D:8,S:8,F:8,~F:8,_;*,_

Notice that there is nothing in there about repeating. What gives?
Post 2 made on Friday November 11, 2005 at 08:15
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
On 11/11/05 04:25 ET, m2mike said...
I am trying to generate NEC1 codes with device
4 and I get the following for function 0.

Looks right to me.

Why does it repeat twice without me specifying
it to repeat?

What do you mean by it repeats twice?

Is that something you see in the Pronto Hex that you think means repeat twice?

When you press the button on your Pronto, does the device do the action twice?


R-Prefix=16,-4

R-Suffix=1,-174

Form= ... ;*,_

Notice that there is nothing in there about repeating.

The parts of the IRP I quoted tell MakeHex how to contstruct the "repeat part" of the Pronto Hex. The repeat part of the Pronto Hex tells the Pronto what to do while the user holds the button down (assuming single action per button). If you hold the button long enough (or have some Pronto settings to make the Pronto act as if you had) the device MAY interpret that as repeating the command.
OP | Post 3 made on Sunday November 13, 2005 at 04:59
m2mike
Long Time Member
Joined:
Posts:
August 2005
22
I wasn't clear on that from the readme that came with Makehex. I guess if I don't want any repeating, I would just insert the timing into the form syntax instead of defining R-Prefix, R-Suffix, Prefix, and Suffix. Is that the case?
Post 4 made on Sunday November 13, 2005 at 07:57
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
The Prefix and R-Prefix lines define the '*' character used in the form. The Suffix and R-Suffix lines define the '_' character. In early versions of MakeHex that was the only way to get such timing into the form. Now you can put timing info directly in the form if you prefer that to using * and ;. But that choice isn't directly relevent to your stated goal of removing the repeat.

The ';' and everything following it on the form line describe the repeat. If you want a signal that can't repeat, remove the ; and everything after it. (for simpler protocols where the ; is the first character of the form, you would remove just the ; to make it non repeating).

If there is no ; then the R- lines will be ignored. You might then want to remove them just to reduce confusion.
Post 5 made on Tuesday November 29, 2005 at 15:47
brucese
Long Time Member
Joined:
Posts:
January 2004
35
Where can I find the Makehex program?
Post 6 made on Tuesday November 29, 2005 at 16:04
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
On November 29, 2005 at 15:47, brucese said...
Where can I find the Makehex program?

[Link: john.fine.home.comcast.net]


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse