Using more that 2 CE pins with SPI, is it possible with this library ? #399
-
Hi, I am trying to connect 5 MCP3008 chips to a raspbery pi 4 B, but can't work out how to address them all, has anyone else done something similar ? I have added the extra chipselect entries, but I can't see a way of using them with this library, is it possible ? I have it working with 2 at the meoment. ls -la /dev/spi* Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Don't worry I worked it out, I now have all 5 working using pi4j, thanks. |
Beta Was this translation helpful? Give feedback.
-
I ended up just using gpio pins to control the chip select and ignored the 2 default select pins, since I need 5 select pins and couldn't work out how to expand what pi4j had available, if there is a better way please let me know. Thanks. |
Beta Was this translation helpful? Give feedback.
Don't worry I worked it out, I now have all 5 working using pi4j, thanks.