I was wondering if there is a way to use three different channels for SPI through the wiring pi library. I mean I know that a chip/slave/channel select pin can be any pin capable of sending a high or low signal. but the way the wiring pi library is constructed, it only allows me to select between two channels, which are passed to the function as an argument. Technically, it should not be difficult to modify the source code to allow me to use a third channel. But I am not sure how to do this. Especially given that the source code is in C (I am primarily a Python programmer).
Can anyone may be walk me through the process of building from the source with this modification?
Is there another, more Pythonic way of doing SPI communication on the pi with 3 chip-selects?
Also, just to learn this more thoroughly, I would love to see if someone has written an SPI bit banger for the pi in python!