Hi,
I'm trying to implement a library that'll use HardwareSPI class.
Is it better/recommended to declare HardwareSPI spi(1) and send the object to my class or inherit HardwareSPI class inside my library class?
Also, I'm having hard time finding a way to pass spi(1) because of the parameter on constructor.
Thanks,
Wagner Sartori Junior