MicroSD Shield

Have purchased a new MicroSD Shield. It won’t compile. The compiler complains with:

"In file included from SF_Micro_SD.cpp:12:

C:_Development\arduino-1.0.1\libraries\SdFat/SdFat.h:294: error: conflicting return type specified for ‘virtual void SdFile::write(uint8_t)’

C:_Development\arduino-1.0.1\hardware\arduino\cores\arduino/Print.h:48: error: overriding ‘virtual size_t Print::write(uint8_t)’

The sketch I’m trying to compile is the Example Sketch found on the Sparkfun MicroSD Shield Document page.

Any suggestions?

I loaded the Arduino SD library and Arduino SD examples. All compiled and worked fine.

Just had to change the default CS pin value to 8 to be in compliance with the

Sparkfun shield configuration. There’s some issue with the Sparkfun basic test file…

Try using an older Arduino IDE. There have been a lot of changes in the Arduino IDE lately that don’t allow older code to compile. If you are still having problem email tech support.