0

I got:

with this sketch using SPI/SdFat+OneWire/DallasTemperature+EmonLib and no matter what I try I got corrupted files like this.

I even haven't attached my sensors yet :( I have tried with 3 SD cards so far, each formatted with SD Memory Card Formatter and each one has this problem.

There is a separate question like that (Corrupted files generated by Arduino with SD library. How to avoid that?) but it concerns SPI confict but here SD is my only SPI device on the bus.

Any ideas?

migrated from electronics.stackexchange.com Jan 15 '16 at 17:22

This question came from our site for electronics and electrical engineering professionals, students, and enthusiasts.

0

This SD shield has CS on D4, not D10

  • 1
    Did this solve your problem? – TisteAndii Jan 15 '16 at 18:05
  • yes, it did solve it – Kodak Jan 17 '16 at 22:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.