IZAR Flight Controller
1.0.0
IZAR Flight Controller running with an ESP32.
sd_c.h
Go to the documentation of this file.
1
#ifndef SD_C_H
2
#define SD_C_H
3
4
#include <esp_err.h>
5
#include <stdio.h>
6
7
#define TAG_SD "SD"
8
15
esp_err_t
sd_c_init
(FILE **
logFile
);
16
23
void
write_to_file_c
(FILE *file,
char
*text);
24
25
26
#endif
// SD_C_H
write_to_file_c
void write_to_file_c(FILE *file, char *text)
Write text to file.
Definition
sd_c.c:22
sd_c_init
esp_err_t sd_c_init(FILE **logFile)
Initialize the SD card and open the file to write data.
Definition
sd_c.c:6
logFile
FILE * logFile
Definition
sensors_reading.c:20
include
sd
sd_c.h
Generated by
1.14.0