mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-29 07:32:18 +03:00
renaming
This commit is contained in:
@@ -20,37 +20,37 @@ bool fileSystemInit();
|
||||
/*
|
||||
* Удалить файл
|
||||
*/
|
||||
void removeFile(const String filename);
|
||||
void removeFile(const String& filename);
|
||||
|
||||
/*
|
||||
* Открыть файл на позиции
|
||||
*/
|
||||
File seekFile(const String filename, size_t position = 0);
|
||||
File seekFile(const String& filename, size_t position = 0);
|
||||
|
||||
/*
|
||||
* Чтение строки из файла
|
||||
* возвращает стоку из файла в которой есть искомое слово found
|
||||
*/
|
||||
String readFileString(const String filename, const String to_find);
|
||||
const String readFileString(const String& filename, const String& to_find);
|
||||
|
||||
/*
|
||||
* Добовление строки в файл
|
||||
*/
|
||||
String addFile(const String filename, const String str);
|
||||
const String addFile(const String& filename, const String& str);
|
||||
|
||||
/*
|
||||
* Запись строки в файл
|
||||
*/
|
||||
String writeFile(const String filename, const String str);
|
||||
const String writeFile(const String& filename, const String& str);
|
||||
|
||||
/*
|
||||
* Чтение файла в строку
|
||||
*/
|
||||
String readFile(const String filename, size_t max_size);
|
||||
const String readFile(const String& filename, size_t max_size);
|
||||
|
||||
/*
|
||||
* Размер файла
|
||||
*/
|
||||
String getFileSize(const String filename);
|
||||
const String getFileSize(const String& filename);
|
||||
|
||||
bool copyFile(const String src, const String dst, bool overwrite = true);
|
||||
bool copyFile(const String& src, const String& dst, bool overwrite = true);
|
||||
@@ -4,8 +4,7 @@
|
||||
|
||||
#include "CommonTypes.h"
|
||||
|
||||
const String getPresetFile(uint8_t preset, ConfigType_t type);
|
||||
const String getConfigFile(uint8_t preset, ConfigType_t type);
|
||||
|
||||
const String getItemName(Item_t item);
|
||||
|
||||
const Item_t getPresetItem(uint8_t preset);
|
||||
|
||||
7
include/Utils/i2c_bus.h
Normal file
7
include/Utils/i2c_bus.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
void do_i2c_scanning();
|
||||
|
||||
const String i2c_scan();
|
||||
Reference in New Issue
Block a user