Eralt / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Allow specification of SPI CS / SS pin in SD.begin(). #400

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What change would like to see?

The ability to pass a CS / SS pin number to the SD.begin() function.

Why?

So we can use the library with any hardware setup. 

Be sure to specifically test use of the hardware SS pin.

Original issue reported on code.google.com by dmel...@gmail.com on 13 Nov 2010 at 8:13

GoogleCodeExporter commented 9 years ago
Note that this is supported by the more recent releases of the sdfatlib with:

    uint8_t init(uint8_t sckRateID, uint8_t chipSelectPin);

Original comment by follower@gmail.com on 14 Nov 2010 at 3:47

GoogleCodeExporter commented 9 years ago
https://github.com/arduino/Arduino/commit/6cbb866123927ea67380154eb4cd3fc6457427
a6

Original comment by dmel...@gmail.com on 14 Nov 2010 at 4:49