0

Just need the 1/0 (pushed or not) entry. It's for a bigger projects so its gonna have a few outputs as well(not as many though).

2 Answers 2

1

Simplest would be to buy 4 MCP23017 I2C port expanders. Each one provides an additional 16 gpios and up to 8 may be connected to the Pi's I2C bus.

E.g. http://www.hobbytronics.co.uk/electronic-components/misc-ic/mcp23017-16bit-port-expander

0
0

you can use i2c bus expander.

https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c

http://raspi.tv/2013/using-the-mcp23017-port-expander-with-wiringpi2-to-give-you-16-new-gpio-ports-part-3

1
  • The Adafruit article is several years out of date so be careful if you follow its advice. In particular I would suggest not using Occidentalis unless you have no other choice.
    – joan
    Commented Jan 19, 2015 at 10:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.