Upload files to "/"
This commit is contained in:
23
sdcard_task.h
Normal file
23
sdcard_task.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef SDCARD_TASK_H
|
||||
#define SDCARD_TASK_H
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <SPI.h>
|
||||
#include <SD.h>
|
||||
#include <freertos/FreeRTOS.h>
|
||||
#include <freertos/task.h>
|
||||
#include "config.h"
|
||||
|
||||
extern volatile bool sdLoggingActive;
|
||||
extern char currentLogFileName[64];
|
||||
|
||||
void sdTaskInit();
|
||||
void sdLoggingTask(void *param);
|
||||
bool sdCreateNewLogFile();
|
||||
void sdStopLogging();
|
||||
void sdStartLogging();
|
||||
String sdGetFileList();
|
||||
bool sdDeleteFile(const char *filename);
|
||||
bool sdCardPresent();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user