Using Cardputer without carputer library
-
Hello,
I want to port an MP3 player library to carputer, but there are conflicts between cardputer.h and my mp3 library.
So what I want to do is to user adafruit gfx library and SD library directly without using carputer library. But both (gfx and SD) are using SPI with different pins. How do you make it work ?
-
You need to change the pin definitions in the adafruit libraries to match those defined on the Cardputers document web page
-
@ajb2k3 Thank you but the screen (for Adafruit GFX) and SD card (for SD lib) have different pins : won't it be a problem if both try to use SPI with different pins in the same time ?
-
There are 2 SPI buses that can be defined