pylon:
I do use the OS utilities to format an SD card but I use a more flexible OS -> Linux. So your advice is correct for Windows users but Linux users should use the internal command as the SD card association doesn't provide a formatting tool for Linux.So on Linux users may issue the command:
mkfs.vfat -F 32 -s 64 -S 512 /dev/sdb1
given that the card is available as /dev/sdb on the system.
This command does the same as the formatter from the SD card association (use 32kB clusters with a FAT32 file system).
Never worked for me... SD.begin(cable select slot) returns 0.
SOLUTION:
In fact you have to (using Linux):
- have root rights (su root)
- in bash (shell) --> msdosfs -I /dev/sdd (assuming /dev/sdd is the sdcard device)
- in arduino 1.8.5 --> verify you installed the SdFAT library
Use the example called SdFormatter - Change the cable select port to 4 for the arduino with LCD module with SD card reader
- Load the program in the arduino and follow the instructions using the serial monitor