jobin-sun / raspberry-gpio-python

Automatically exported from code.google.com/p/raspberry-gpio-python
MIT License
0 stars 0 forks source link

Bidirectional IO #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Seems that BCM2835 does not support open-drain IO, but could it be possible to 
make sw emulation for it?

setup to opendrain

when output set to 1, configure as input and enable pullup (or allow pull-up 
configuration).
when output set to 0, configure as output and drive low.

Allow reading input state, when output set to 0, return 0, when set to 1 return 
true input value.

Original issue reported on code.google.com by kimmo.li...@gmail.com on 26 Jan 2013 at 9:40

GoogleCodeExporter commented 9 years ago

Original comment by btcros...@googlemail.com on 18 Mar 2013 at 7:47