Can I connect two PIR sensors to a mini pro/328p and use interrupt on both?
-
Can I connect two PIR sensors to a mini pro/328p and use interrupts on both plus radio? I read before that only pin 2,3 could be use for intererupts and the radio uses pin 2.
-
@Cliff-Karlsson The radio interrupt is not used at the moment, so you can use both for other purposes
-
@AWI said:
used at the moment, so you can use both for other purposes
reply
But if the radio is connected to pin-2 how would I use that pin? do I need to edit some of the mysensors config files ?
-
You just don't connect it. That's all The MySensors nrf code does not use the interrupt so there is no code to remove.