Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Conversation

@jbremond
Copy link

Hello guys,

This commit fix the following problem:

configure pin as output

mcp.config(13,mcp.OUTPUT)
mcp.output(13,1)

read state

mcp.input(13) >> 13

the result is 1

But if I configure 2 pins as output, I can't read the state

configure pins as output

mcp.config(13,mcp.OUTPUT)
mcp.output(13,1)
mcp.config(14,mcp.OUTPUT)

read state

mcp.input(13) >> 13

raise : Pin 13 not set to input

If you need more informations, don't hesitate.
Joris

@ladyada
Copy link
Member

ladyada commented Sep 30, 2019

Thank you for the Pull Request
This library has been deprecated in favor of our python3 Blinka library. We have replaced all of the libraries that use this repo with CircuitPython libraries that are Python3 compatible, and support a wide variety of single board/linux computers!

Visit https://circuitpython.org/blinka for more information

CircuitPython has support for almost 200 different drivers, and a as well as FT232H support for Mac/Win/Linux!

@ladyada ladyada closed this Sep 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants