mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
esp32 compiling version
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user