- Home
- Help and Support
- Support Forum
- IO Pi and IO Pi Plus
- Setting Output pin to open drain with the c library
Setting Output pin to open drain with the c library
2208 Views - Created 18/04/2017
18/04/2017
Posted by:
vhauffmr
Location:
Germany
I do not think it is possible to see the output pins as open-drain on the IO Pi Plus. According to the datasheet for the MCP23017 which is used on the IO Pi Plus the only pins that can be set as open drain are the interrupt pins. At the moment the C library does not include a function for setting the mode of the interrupt pins but I can add that in if you need it.
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.
Formatting your Forum Post
This forum uses BBCode, short for Bulletin Board Code, which is a lightweight markup language used primarily in online forums and message boards to format and structure posts. It provides a simple way for users to add formatting and styling to their text without requiring knowledge of HTML or other complex programming languages. With BBCode, users can enhance their messages by applying formatting tags such as bold or italic. Additionally, BBCode allows users to insert images, create clickable links, quote other users, and more.
Type | Syntax | Purpose |
---|---|---|
Bold | [b]{text}[/b] | Makes {text} bold |
Italic | [i]{text}[/i] | Makes {text} italic |
Quote | [quote]{text}[/quote] | Creates a quotation box saying {text} |
Image | [img]{url}[/img] | Shows the image indicated by {url} |
Link | [url]{url}[/url] | Makes a link to {url} |