Writing to file #338
-
Hello. I would like to write the contents of a variable to a file (rather than to the Console). The code is below. As you can see, at this point I'm not utilizing the Crazyflie... that will be the next step. When I make, it gives me an error (make log is below the code). Thanks!
bitcraze@ubuntu:~/Desktop/Personal_Projects/Measure_Voltage$ make configuration written to .config make[2]: Leaving directory '/home/bitcraze/Desktop/Personal_Projects/Measure_Voltage/build' |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi! Functions like fopen or fprintf are not possible on a crazyflie. Also it does not use a file system like a regular computer so what you would like to do will not be possible on an embedded system like the crazyflie. you will only be able to write a file with the uSD deck driver. Please check the usage tab of the product page. |
Beta Was this translation helpful? Give feedback.
Hi!
Functions like fopen or fprintf are not possible on a crazyflie. Also it does not use a file system like a regular computer so what you would like to do will not be possible on an embedded system like the crazyflie.
you will only be able to write a file with the uSD deck driver. Please check the usage tab of the product page.