I have a Waveshare Can/RS485 Hat on my Pi. The Hat uses SPI0 with CS0 going to the CAN side. CS1 goes to the RS485 side.
I have a new device that uses SPI also. As I explore the sample code, initializing the bus uses the following code:
spi=busio.SPI(board.SCK, MOSI=board.MOSI, MISO=board.MISO) cs=digitalio.DigitalInOut(board.D5)
How do I get the initialization to look at SPI1 rather than SPI0?
I would think that there would be some parameter that specifies SPI0 or SPI1 in the initialization.
Any thoughts?