I was trying out the ReadWriteexample of the SD official library. Line 24 is File myFile;
Is the File command part of the library? I couldn't find it in the documentation. Is there another page? I seem to remember being warned not to use Format... from the Windows context menu, and to instead use the program from the SD association to format the cards. The SD Card Notes page doesn't mention this and I can't remember where I read it.
Also, the CardInfoexample has on line 50 if (!card.init(SPI_HALF_SPEED, chipSelect)) {
The documentation doesn't mention card.init() either
So, my question: Is there anything I need to know about the File command? Is card.init() documented? Are there other undocumented commands out there?
Thanks, I found SD.h and had a look but I couldn't make sense of it. At least I now know where "undocumented" code can be found.
I couldn't find Sd2card.h I assume it's on my PC and doesn't need to be installed since I have the example which uses init() I'll do a search in file explorer later.
Thanks again for the heads up, you solved a mystery for me!