Hi im trying to setup a SD card module along with a OV7670 and nano based off of this website
and i am trying to test the SD Card using the test code:
#include <SD.h>
int CS_Pin = 10;
void setup() {
// SD setup
Serial.begin(9600);
pinMode(CS_Pin, OUTPUT);
if (SD.begin(CS_Pin)) {
Serial.println("Card Initialization Successful!");
}else{
Serial.println("Card Initialization Failed!");
}
File dataFile = SD.open("test.bmp", FILE_WRITE);
for(int i=0;i<240;i++){
for(int j=0;j<320;j++){
dataFile.write(0x77);
}
}
dataFile.close();
}
void loop(){
}
and it says the authentication failed and i dont know what to do (the electronics schematic is provided as well)
