SD FileSystem to comunicate with a KL25Z

Dependencies:   FATFileSystem

Dependents:   KL25_Funciona_SD

Fork of SDFileSystem by Neil Thiessen

Files at this revision

API Documentation at this revision

Comitter:
manuelmbed86
Date:
Thu Aug 10 18:06:24 2017 +0000
Parent:
26:e4d2567200db
Commit message:
Reading Analog Ports and Saving in a micro SD CARD with the KL25z

Changed in this revision

SDFileSystem.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SDFileSystem.cpp	Mon Aug 29 15:05:27 2016 +0000
+++ b/SDFileSystem.cpp	Thu Aug 10 18:06:24 2017 +0000
@@ -41,11 +41,11 @@
 
     //Configure the card detect pin
     if (cdtype == SWITCH_POS_NO) {
-        m_Cd.mode(PullDown);
+    //    m_Cd.mode(PullDown);
         m_CdAssert = 1;
         m_Cd.fall(this, &SDFileSystem::onCardRemoval);
     } else if (cdtype == SWITCH_POS_NC) {
-        m_Cd.mode(PullDown);
+   //     m_Cd.mode(PullDown);
         m_CdAssert = 0;
         m_Cd.rise(this, &SDFileSystem::onCardRemoval);
     } else if (cdtype == SWITCH_NEG_NO) {