21 lines
427 B
C
21 lines
427 B
C
|
#ifndef STORAGE_H
|
||
|
#define STORAGE_H
|
||
|
|
||
|
#include <Arduino.h>
|
||
|
#include <SPIFFS.h>
|
||
|
|
||
|
class Storage
|
||
|
{
|
||
|
public:
|
||
|
static bool isMounted;
|
||
|
static void init();
|
||
|
static void setPID(float kp, float ki, float kd);
|
||
|
static void getPID(float &kp, float &ki, float &kd);
|
||
|
static void setSensitivity(unsigned int sensitivity);
|
||
|
static unsigned int getSensitivity();
|
||
|
static void setName(String name);
|
||
|
static String getName();
|
||
|
};
|
||
|
|
||
|
#endif
|