Hello, I have a simple rgb strip and i control it through 3 PWM outputs and 3 mosfets. My problem is that when I put the controlling code for IR first my rgb strip is being controlled only by IR and bypasses the bluetooth route. On the other side if I switch the flow of my loop and put the bluetooth code first, then arduino bypasses the IR step and the strip is controlled only from my phone. So my question is what can I do so it can be controlled both by my IR control & my phone. The strips works perfectly when one of these 2 controls is being used so it must be a code problem, also i have my reservations that bluetooth is interfering with IR signals so a wrong code is being decoded. Is there any filter I can put to the bluetooth if this is a problem?
leds_control_bluetooth___IR.ino (4.84 KB)