I would like to write data to the files on the SD card by mega328p. I read about FatFS and Petit FatFS library, that these libraries are written specially for this purpose. I started with Petit FatFS library, because it has a less memory than FatFS and I thought that it would be enough for mega328p. I found an example dedicated to mega328p, run, and I realized that by Petit FatFS library I cannot create a file. This feature is really important for my project, so I would like to find the example of project implementation with FatFS library for mega328p on Atmel Studio 7.0, beacuse I cannot rewrite basic example for avr from FatFS library website. Has anyone some working examples for mega328p?