Arduino
Arduino copied to clipboard
listfiles example for SD card library is documented wrongly in the code
on the example https://github.com/arduino/Arduino/blob/master/libraries/SD/examples/listfiles/listfiles.ino there is a difference between the comments, where it is explain that CS is meant to be pin number 4 and the actual code, where it is taking pin 10. For consistency I think we should stick to pin 4, as many of the other examples use that.
Updated