PetitFS and Arduino UNO

Hi all,

I have limited space on my UNO and want to implement SD writing.

I have stumbled upon PETITFS library but am not sure how to use the write function and work with the library.

Can anyone help?

Daniel

I have stumbled upon PETITFS library

In a sealed box at WalMart?

Most libraries come with examples. Look at the ones that came in the box with your library.

The PetitFS library contains one example and it is how to read. I have looked extensively through the internet but cannot seem to find anything. Just looking for someone with experience with the library.

Thanks

ddesousa:
The PetitFS library contains one example and it is how to read. I have looked extensively through the internet but cannot seem to find anything. Just looking for someone with experience with the library.

Thanks

My earlier comment was a hint that you needed to post a link to the library. It can't be too hard to write to a file on the SC card, IF the library supports that. It is possible that the way the library is able to be so small is that it doesn't support writing, but that seems unlikely.

Sorry for the misunderstanding.

The library: GitHub - greiman/PetitFS: Petit FatFs Arduino Library

It does have a write function so I would assume it could write.

What makes it so small is that it doesnt write a buffer to the card but instead, it does it "on the fly".

Thanks

DD