Jump to content
C4 Forums | Control4

IR Pause/Play Toggle


kevinmuise

Recommended Posts

I want to program a synchronized keypad double click to send IR pause/play to my cable box. At night pause turns up some lights and play turns them down. I have used a Boolean variable to "flip" pause/play. Sometimes 3 double clicks are needed to synchronize lights and television.

How do I program that the last IR emitted was pause so the next one is play and vice versa?

Kevin

Link to comment
Share on other sites


I would try having a variable that flips between 0 and 1 or true and false for play and pause, then when you double click you check that variable to know if it's already on pause or play and you can send out the right code using If statements.

You'll also need to go to the cable box and add in programming for "when cable box pauses set variable to 0" and "when cable box plays set variable to 1" so that it keeps track properly when using other methods to play/pause.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.