We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac952a4 + 1530a9e commit 2518744Copy full SHA for 2518744
examples/adafruitio_16_servo/adafruitio_16_servo.ino
@@ -20,7 +20,13 @@
20
21
/************************ Example Starts Here *******************************/
22
23
-#include <Servo.h>
+#if defined(ARDUINO_ARCH_ESP32)
24
+ // ESP32Servo Library (https://github.com/madhephaestus/ESP32Servo)
25
+ // installation: library manager -> search -> "ESP32Servo"
26
+ #include <ESP32Servo.h>
27
+#else
28
+ #include <Servo.h>
29
+#endif
30
31
// pin used to control the servo
32
#define SERVO_PIN 2
@@ -61,7 +67,6 @@ void setup() {
61
67
// we are connected
62
68
Serial.println();
63
69
Serial.println(io.statusText());
64
- servo_feed->get();
65
70
66
71
}
72
0 commit comments