lthiery / SPI-Py

Hardware SPI as a C Extension for Python
289 stars 150 forks source link

Handling multiple SPI devices #12

Closed msedv closed 8 years ago

msedv commented 8 years ago

My version of spi.c in which openSPI returns the file descriptor which then must be given to transfer and closeSPI. A little bit of a hack but works like a charm.

Problem: calls not compatible - additional parameter "fd" needed.