increment files in SD card in python on Sipy
-
I am having trouble storing more then 100kb in a txt file on an SD card connected to my sipy. I have tryed to create a new file when the data gets close to the max it can store.

this is some of the code i am using.
this is the error i am getting

any help would be greatthanks,
-
-
@chrisi Did you mount the SD card before trying to write? That's not include in the code snippet you used. And I am a little bit puzzled that you get an I2C buss error?
-
Thanks anyway but the problem fixed itself after I updated the firmware and made a few other changes to my code but i still don't know what the problem was but am all good now.
Kind regards,
Chris
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login