Go Down

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


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?


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.


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

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131