fix: use ESP32Servo library compatible with current core
All checks were successful
OTA build / build-ota (push) Successful in 2m27s
All checks were successful
OTA build / build-ota (push) Successful in 2m27s
This commit is contained in:
@@ -12,4 +12,4 @@
|
|||||||
platform = espressif32
|
platform = espressif32
|
||||||
board = esp32doit-devkit-v1
|
board = esp32doit-devkit-v1
|
||||||
framework = arduino
|
framework = arduino
|
||||||
lib_deps = roboticsbrno/ServoESP32@^1.0.3
|
lib_deps = madhephaestus/ESP32Servo@^3.2.1
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <Servo.h>
|
#include <ESP32Servo.h>
|
||||||
|
|
||||||
static const int servoPin = 4;
|
static const int servoPin = 4;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user