I'm already using a two wire interface on the pins 2 and 3 and I'm trying to get RCSwitch working. Thus I need to use interrupt 4 on pin 7. There some info saying this pin might be used for handshaking in the future. Has the future arrived? Any experience out there using interrupt 4? Is there some other conflict going on between library Wire and RCSwitch and/or Bridge?
bjkellett:
There some info saying this pin might be used for handshaking in the future. Has the future arrived?
The future has always been here, but it's been up to you to enable it.
Pin 7 is indeed connected to a GPIO pin on the Linux processor (always has been.) But there is a bi-directional level shifter between the two processors, which is disabled unless you execute some specific commands on the Linux side to enable the level shifter. Unless you specifically tell Linux to turn on that GPIO pin and enable the level shifter, it's as if pin 7 isn't connected to anything.
I have used pin 7 as a communications path between Linux and the sketch processor, and I can tell you how it's done, but you are clearly not looking for that information, you only want to know how to prevent it from interfering with your desired use of pin 7. The answer is easy: do nothing, and you gave free use of that pin.
Any experience out there using interrupt 4? Is there some other conflict going on between library Wire and RCSwitch and/or
Unfortunately, I have no experience with your intended library, nor have I ever tried to use that interrupt, so I can't help you there. But there should be no special concerns on the Yun with that pin: if the interrupt and library works on a Leonardo, it should work on the Yun.
Looks like a problem with the YUN and RCSwitch library
see thread
433mhz receiver works on the Uno but not Yun
Oct 25, 2014, 03:22 am
bjkellett:
see thread433mhz receiver works on the Uno but not Yun
Oct 25, 2014, 03:22 am
Direct link to the referenced thread (to save the need to search for it): 433mhz receiver works on the Uno but not Yun - Sensors - Arduino Forum