A re-written SDFileSystem library with improved compatibility, CRC support, and card removal/replacement support.
Dependencies: FATFileSystem
Fork of SDFileSystem by
Diff: SDFileSystem.cpp
- Revision:
- 15:c9e938f6934f
- Parent:
- 13:635147efa748
- Child:
- 16:c2c1f0b16380
--- a/SDFileSystem.cpp Thu Aug 28 16:02:09 2014 +0000 +++ b/SDFileSystem.cpp Mon Oct 27 17:02:05 2014 +0000 @@ -15,6 +15,7 @@ */ #include "SDFileSystem.h" +#include "pinmap.h" #include "diskio.h" #include "CRC7.h" #include "CRC16.h" @@ -28,6 +29,9 @@ m_WriteValidation = true; m_Status = STA_NOINIT; + //Enable the internal pull-up resistor on MISO + pin_mode(miso, PullUp); + //Configure the SPI bus m_Spi.format(8, 0);