SD Card installation failed

The USBDroid provides USB Host functionality for use as an Android peripheral as an Open Android Development Kit board. [Product page]
Post Reply
kasirao
Posts: 11
Joined: Tue Jan 09, 2018 10:17 am
Contact:

SD Card installation failed

Post by kasirao » Wed Jan 10, 2018 5:02 am

#include<sd.h>

#include<spi.h>

const int CS=10;

void setup()

{

Serial.begin(9600);

pinMode(CS,OUTPUT);

digitalWrite(CS,HIGH);

if(!SD.begin(CS))

{

Serial.println("SD CARD INTIALIZATION FAILED");

return;

}

Serial.println("Sd card intialization done");

}

void loop()

{

}

SIR But Card is not initializing.....

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests