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?

Glorfindel
5781 gold badge7 silver badges18 bronze badges
asked Jan 15, 2016 at 17:20

1 Answer 1

0

This SD shield has CS on D4, not D10

answered Jan 15, 2016 at 17:40
2
  • 1
    Did this solve your problem? Commented Jan 15, 2016 at 18:05
  • yes, it did solve it Commented Jan 17, 2016 at 22:38

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.