Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto NG Family Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
Hold a button in a macro?
This thread has 7 replies. Displaying all posts.
Post 1 made on Tuesday September 21, 2004 at 09:03
mj_ewing
Lurking Member
Joined:
Posts:
September 2004
9
Rookie question -- is it possible to hold a button in a macro? I have IR light switches that turn on/off on a quick hit of the button, but dim when the remote button is held. How can this be accomplished within a macro? Thanks for the help.
Post 2 made on Tuesday September 21, 2004 at 12:43
RC Geek
Advanced Member
Joined:
Posts:
April 2003
826
No, you cannot hold a button in a macro. Two ways to accomplish what you want - edit the code for a longer repeat or include multiple aliases to the same code.
Having once decided to achieve a certain task, achieve it at all costs of tedium and distaste. The gain in self-confidence of having accomplished a tiresome labor is immense. -----Arnold Bennett
OP | Post 3 made on Wednesday September 22, 2004 at 09:45
mj_ewing
Lurking Member
Joined:
Posts:
September 2004
9
On 09/21/04 16:43 ET, RC Geek said...
Two ways to accomplish what you want - edit the code for
a longer repeat or include multiple aliases to the same code.

Thanks for the tip -- here is the code -- can you help me edit this code to make a longer repeat? Would the same hex just be repeated?

0000 006D 0030 0000 0030 0010 0010 0030 0010 0030 0030 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0030 0010 0010 0030 0010 0540 0030 0010 0010 0030 0010 0030 0030 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0030 0010 0010 0030 0010 0D55 0030 0010 0010 0030 0010 0030 0030 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0030 0010 0010 0030 0010 0540 0030 0010 0010 0030 0010 0030 0030 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0030 0010 0010 0030 0010 0010
Post 4 made on Wednesday September 22, 2004 at 10:04
johnsfine
IR Expert
Joined:
Posts:
September 2002
5,159
If you want that function to work right OUTSIDE of a macro (have the duration of the signal correctly depend on how long you press the key) you should correct the signal. I think the corrected form is:

0000 006D 0000 0018 0030 0010 0010 0030 0010 0030 0030 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0030 0010 0010 0030 0010 0540 0030 0010 0010 0030 0010 0030 0030 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0030 0010 0010 0030 0010 0D55

But for use within a macro, that correction is not a good idea.

Did you understand what was meant about aliasing the signal multiple times? That's the first thing you should try. The uncorrected signal you posted can't be significantly improved upon for use multiply aliased in a macro. Probably it won't work because the delay between steps in a macro in an NG Pronto is too slow. But it's worth trying.

If that fails, editing the Pronto Hex to make it longer is even less likely to work, but you might want to try. I'd need to experiment a little with PENG to find out how to make this particular signal longer and I really doubt PENG would let you make it long enough.
OP | Post 5 made on Wednesday September 22, 2004 at 12:05
mj_ewing
Lurking Member
Joined:
Posts:
September 2004
9
On 09/22/04 14:04 ET, johnsfine said...
Did you understand what was meant about aliasing
the signal multiple times? That's the first thing
you should try. The uncorrected signal you posted
can't be significantly improved upon for use multiply
aliased in a macro. Probably it won't work because
the delay between steps in a macro in an NG Pronto
is too slow. But it's worth trying.

The little I've learned has been through trial and error (and the forum here) so I can't say I know what is meant by aliasing the signal multiple times. Any help is appreciated
Post 6 made on Wednesday September 22, 2004 at 12:53
Archer
Founding Member
Joined:
Posts:
August 2001
877
Aliasing is using the same IR code several times by "linking" to it.

On your button in its properties you would create a macro that uses links...

Link to "Original IR Code"
Delay ".1"
Link to "Original IR Code"
Delay ".1"
Link to "Original IR Code"
Delay ".1"
Link to "Original IR Code"

The easiest way to understand this is to download other peoples PCF's and examine how/and why they did things using your ProntoEdit program.
Jack of all trades..
Master of None
Post 7 made on Wednesday September 22, 2004 at 17:43
Peter Dewildt
Loyal Member
Joined:
Posts:
July 2001
6,307
You probably don't want the delays if you are trying to simulate a long press.
Peter
Pronto 1000 (retired), Pronto TSU7000, RFX6000 (retired)
Pronto 2xTSU9600, RFX9400
OP | Post 8 made on Wednesday September 22, 2004 at 21:30
mj_ewing
Lurking Member
Joined:
Posts:
September 2004
9
On 09/22/04 21:43 ET, Peter Dewildt said...
You probably don't want the delays if you are
trying to simulate a long press.

Thanks for the tips -- even without the delays, all I get are the lights flashing on and off (that's what I get for buying cheap IR light switches). The code below works to turn the switches on/off, is there a way within the code to stretch it out and thereby dim the lights by simulating a long hold of the button?

0000 006D 0030 0000 0030 0010 0010 0030 0010 0030 0030 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0030 0010 0010 0030 0010 0540 0030 0010 0010 0030 0010 0030 0030 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0030 0010 0010 0030 0010 0D55 0030 0010 0010 0030 0010 0030 0030 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0030 0010 0010 0030 0010 0540 0030 0010 0010 0030 0010 0030 0030 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0030 0030 0010 0010 0030 0010 0010

This message was edited by mj_ewing on 09/23/04 06:38 ET.


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