fix: use ESP32Servo library compatible with current core
All checks were successful
OTA build / build-ota (push) Successful in 2m15s
All checks were successful
OTA build / build-ota (push) Successful in 2m15s
This commit is contained in:
@@ -13,4 +13,4 @@ platform = espressif32
|
|||||||
board = esp32doit-devkit-v1
|
board = esp32doit-devkit-v1
|
||||||
framework = arduino
|
framework = arduino
|
||||||
lib_deps =
|
lib_deps =
|
||||||
roboticsbrno/ServoESP32@^1.0.3
|
madhephaestus/ESP32Servo@^3.2.1
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*********/
|
*********/
|
||||||
|
|
||||||
#include <WiFi.h>
|
#include <WiFi.h>
|
||||||
#include <Servo.h>
|
#include <ESP32Servo.h>
|
||||||
|
|
||||||
Servo myservo; // create servo object to control a servo
|
Servo myservo; // create servo object to control a servo
|
||||||
// twelve servo objects can be created on most boards
|
// twelve servo objects can be created on most boards
|
||||||
|
|||||||
Reference in New Issue
Block a user