Arduino-PowerFunctions icon indicating copy to clipboard operation
Arduino-PowerFunctions copied to clipboard

Change channel?

Open classic-audio opened this issue 4 years ago • 1 comments

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 avatar Jan 22 '21 08:01 classic-audio

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)

classic-audio avatar Jan 23 '21 10:01 classic-audio