Sending data to .csv file

Edyta Bosacka <edyta.bosacka@...>
 

Hi 🙂 I want to write some data to .csv file.


I took an example : \zephyrproject\zephyr\samples\subsys\fs\fat_fs and I added these to my code:




In main:


Os_x, os_y, os_z - these are variables I wanna have in one row in .csv file.


The code compiles, but in terminal I get:


What can be the reason of this problem?
 I also tried fs_opendir (&zfp, "C:/Users/user/Desktop/file.csv") but it also doesnt work 🙁 

Join users@lists.zephyrproject.org to automatically receive all group messages.