About Us Knowledge Base Community Forum Electronics Toolbox FAQ Shipping & Delivery

Community Forum

Share your projects and post your questions

Search
Register or Sign In
Forum

documentation question

125 Views - Created 24/04/2019

24/04/2019

Posted by:
Bob Russo

Users 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

Users Avatar

Location:
United Kingdom

Users Twitter  Users 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

AB Electronics UK Tech Support

24/04/2019

Posted by:
Bob Russo

Users Avatar

Thanks!

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.