You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used Marlin FIrmware to 3d printer, and i want to save a file on its sd and it use sdfat.
The card fortmat is Sd2Card.
I tried to follow and exemple that is there:
Same here, I've attached almost minimal sketch to reproduce bug. Might be in my code, perhaps I forgot to initialize something. file.open either resets arduino or it halts and initialization often takes 20-25ms (i'm used to 100ms) ... perhaps it depends if card was initalized already or disconnected from power before test). Anyways, file.open never returns.
I will try to copy sdout stream from getline example, at least example works.
Failing code: sketch_jun17a.zip
Warning: code sets pin 4 to output and high ... just in case you have something there
PS: ofstream fails to open file and ofstream.good() is false, I have certainly some silly error in my code, but at least it does not crash.
I used Marlin FIrmware to 3d printer, and i want to save a file on its sd and it use sdfat.
The card fortmat is Sd2Card.
I tried to follow and exemple that is there:
And it didn't work.
So i want to know the correct way to write a file at Sd2Card because all the exemples i found was about sdfat card format.
Thanks
The text was updated successfully, but these errors were encountered: