The situation is as follows, I've connected a SPI TFT screen to the ESP8266 DevKit, set my own MISO,MOSI, CD, SCK pins and it works fine, wanted to do the same for using the SD card reader, but then I realized that the SD library is using the pre-defined pins with no visible way override this.. There must be a way, no?
I did try editing the pins_xxx files:
static const uint8_t SS = 10; static const uint8_t MOSI = D7; //11; static const uint8_t MISO = D5; //12; static const uint8_t SCK = D6; //13;
But it did not work, I'm not that well familiar about the build process.. So, is there a way to accomplish this? Maybe a different library?
P.S. I am using the Arduino IDE for the ESP.