Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

documentation question

1403 Views - Created 24/04/2019

24/04/2019

Posted by:
Bob Russo

Bob Russo Avatar

I've found this statement...


xxx.set_interrupt_polarity(0)


... in a few pieces of demo code. I can't seem to find it in the documentation. Any idea where I might find it? I'm sure there will be other usefull info in the same place!

thanks

24/04/2019

Posted by:
andrew

andrew Avatar

Location:
United Kingdom

andrew Twitter  andrew Website  

Hello Bob

Thank you for noticing that the set_interrupt_polarity() function is not in the documentation.

set_interrupt_polarity(polarity) allows you to set the polarity of the two interrupt pins INTA and INTB so they go either high or low when active.

The function takes a single parameter of 0 or 1. 0 = Active Low, 1 = Active High

I have added the function into the documentation for the IO Pi and Expander Pi which you can find on our GitHub python repository at https://github.com/abelectronicsuk/ABElectronics_Python_Libraries

24/04/2019

Posted by:
Bob Russo

Bob Russo Avatar

Thanks!

Sign in to post your reply

Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view.
Download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.