Open DanielSSilva opened 4 years ago
Not only that, but it seems that there are some bindings (which we might or might not end up using) that require the SPI device as a parameter
It is probably a good idea to make cmdlet interface for SPI similar to what we have for I2C.
I'm opening this issue so that we can discuss the implementation of the SPI interface. I'm not familiar with this interface, but from my understanding (and from what I'm seeing on the dotnet repo), this seems that the SPI device could be created once and used many times, whereas with current implementation, each time we are sending that through SPI, we are creating a new device and then disposing it. Would it make sense to have a similar approach to what we have on I2C ? Something like