I am having trouble getting the IR remote to do what I need it to do. When a button is pressed it only activates momentairly. If the button is held the code changes to repeat. I want the button to repeat the code that was pressed. I believe the solution looks something like:

declare last code

when code received , last code == code

repeat do last code

I am having difficulty with the implementation. Any help would be appreciated.

Quote 0 0

Add a Website Forum to your website.