I have 2 devices(MicroSD Breakout and an OLED display) that use some of the same pins (8,9,11,13) and was wondering if there was a way to run them both.
SD used SPI. The OLED probably also does, if it uses those pins. Pins 11,12,13 are intended to be used by multiple devices that way. What are 8 and 9 used for?
For the display pin 8 is connected to DS and pin 9 is connected to RES
For the Micro SD breakout pin 8 is connected CS and pin 9 is connected to CD
Thanks for the quick response
You can share 11,(12,),13, that is intended for the SPI bus.
For one of the devices, you will have to choose other pins for 8 and 9. You will be able to tell that to the library, probably in the constructor of the object.
Thank you for all your help!