11 years, 7 months ago.

How do I get the SD lib to work with the sparkfun CAN-bus shield?

I have almost the whole shield supported, but I cannot get the SD card to read. I'm using the KL25Z and the Sparkfun CAN-bus, do I have the wrong pins?

// mosi, miso, sclk, chip_select, const char* name
SDFileSystem sd(D11, D12, D13, D9, "sd");

PS - update the MBED lib, so the KL25Z is supported in your program.

Question relating to:

Be the first to answer this question.