I set up a MKRZero as shown in the example for the Weather_Data_Logger, downloaded the source and ran it with 2 different cards. The SD cards were formatted and work on other Arduino boards. The MKRZero board was installed under the Atmel Studio 7 IDE with Visual Micro for Arduino 1.6. I always get as output
"chipSelect = 28
DataLogger Example:
Card failed, or not present"
I added println chipSelect to see what was going on and see it is selecting pin 28 (the code assigns "SS1"), which seems off. I tried 4 and 10 with same result. Others build the example and run the provided code with no reported problems. What am I not getting right? I have the Adafruit SD library loaded, which I needed for their logger shield, which uses pin 10, but RTCZero and DHT libraries are also installed.