Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change channel? #7

Open
classic-audio opened this issue Jan 22, 2021 · 1 comment
Open

Change channel? #7

classic-audio opened this issue Jan 22, 2021 · 1 comment

Comments

@classic-audio
Copy link

How can I change channel in the code?
I would like to be able to use e.g. 2 Lego IR receivers 8884 in a car.
Then I would like to be able to switch the channel in the Arduino code.
What is the code to do that?

@classic-audio
Copy link
Author

Suggestion
#include <PowerFunctions.h>
PowerFunctions pfCh1(12, 0); // IR on pin12, channel 1
PowerFunctions pfCh3(12, 2); // IR on pin12, channel 3
Will work - I think ( a suggestion from Arduino Forum - J-M-L)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant