esp32 compiling version

This commit is contained in:
Dmitry Borisenko
2020-08-30 00:12:11 +03:00
parent 01248f41da
commit 86ee523182
12 changed files with 49 additions and 28 deletions

View File

@@ -1,6 +1,8 @@
#pragma once
#ifdef SERVO_ENABLED
#include <Arduino.h>
#include <ESP32Servo.h>
#include <Servo.h>
struct Servo_t {
@@ -22,4 +24,6 @@ class Servos {
std::vector<Servo_t> _items;
};
extern Servos myServo;
extern Servos myServo;
#endif