Go Down

Topic: Using Wire and Interrupt together on Yun (Read 528 times) previous topic - next topic

SherpaDoug

I need to use Wire (SDA/SCL) for one sensor and use an interrupt for a different sensor.  Is this possible without disrupting the serial comms to the LININO processor?

ShapeShifter

Have you tried pin 7?

The '32U4 of the Yun should support interrupts on pins 0, 1, 2, 3, and 7. 0 and 1 are bridge communications, 2 and 3 are SCL/SDA, so that leaves 7 as the only one left.

SherpaDoug

Thank you, pin 7 worked.  I was looking into a bit bashed method for I2C (Wire) and having no luck.  I hadn't noticed pin 7.  

Go Up