mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-28 23:22:19 +03:00
first
This commit is contained in:
14
include/main.h
Normal file
14
include/main.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <Arduino.h>
|
||||
#include <ArduinoJson.h>
|
||||
#include <FS.h>
|
||||
#include <StreamUtils.h>
|
||||
|
||||
#include "LittleFS.h"
|
||||
|
||||
extern FS LittleFS;
|
||||
using littlefs_impl::LittleFSConfig;
|
||||
extern FS* filesystem;
|
||||
#define FileFS LittleFS
|
||||
#define FS_NAME "LittleFS"
|
||||
|
||||
void setupESP();
|
||||
9
include/rest.h
Normal file
9
include/rest.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "main.h"
|
||||
|
||||
File seekFile(const String& filename, size_t position = 0);
|
||||
const String writeFile(const String& filename, const String& str);
|
||||
const String readFile(const String& filename, size_t max_size);
|
||||
const String filepath(const String& filename);
|
||||
bool fileSystemInit();
|
||||
String prettyBytes(size_t size);
|
||||
bool cutFile(const String& src, const String& dst);
|
||||
Reference in New Issue
Block a user