I am trying to use an adafruit logger shield but I am unable to read or write to sd card. Can someone let me know what critical piece I am missing?
I get this:
My main function is this:
public static void Main() { StorageDevice.MountSD("SD", SPI.SPI_module.SPI1, Pins.GPIO_PIN_D10); Debug.Print("Current Directory = " + Directory.GetCurrentDirectory()); try { for (int i = 0; i < 5; i++) { Directory.CreateDirectory(Directory.GetCurrentDirectory() + "Folder" + i); Debug.Print("successfully created Folder" + i + "!"); } } catch (Exception e) { Debug.Print("error encountered" + e.Message); } }