I am trying to read the position of the csv file that is shown in the image with the following code. I hope someone can help me
Greetings David.
file = SD.open("1.csv");
int totalBytes=file.size();
//Serial.println(totalBytes);
while(file.available()){
char caracter = file.read();
if(caracter == '\n'){
bandera = true;
}
if(bandera == true){
Prev = Prev + caracter;
if(caracter == ',')break;
}
}
bandera = false;
file.close();
Serial.println(Prev);