add FSM3.0 src code not impl yet, add header guards and format main

This commit is contained in:
2021-07-07 18:28:05 +02:00
parent f57e875a17
commit 5986beb10c
5 changed files with 24 additions and 24 deletions
+4 -2
View File
@@ -1,7 +1,7 @@
#ifndef __HTTPSERVER_H
#define __HTTPSERVER_H
// Wrapper for ESP8266WebServer with Filesystem as HTTP source
#pragma once
#include <ESP8266WebServer.h>
#include <stdarg.h>
#include "filesys.h"
@@ -42,3 +42,5 @@ public:
void logf(const char *format, ...);
void logt(const char *format, ...);
};
#endif // __HTTPSERVER_H
+5 -2
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef __TREPPE_H
#define __TREPPE_H
#include "FSMTreppe2/FSMTreppe2.h"
#include "PCA9685.h"
@@ -87,4 +88,6 @@ public:
void activate_idle_pwm(bool active);
void set_active_pwm(uint16_t _active_pwm);
void set_time_per_stair(uint16_t _time_per_stair);
};
};
#endif // __TREPPE_H