# ESP32-S3 Not Working With 2+ Servos

**URL:** <https://forum.arduino.cc/t/esp32-s3-not-working-with-2-servos/1157409>\
**Category:** 3rd Party Boards\
**Created:** [August 11, 2023, 5:15pm UTC](https://forum.arduino.cc/t/esp32-s3-not-working-with-2-servos/1157409 "2023-08-11T17:15:50Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![onlykelvin](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/onlykelvin/32/996411_2.png) [@onlykelvin](https://forum.arduino.cc/u/onlykelvin)\
**Post date:** [September 3, 2023, 2:31am UTC](https://forum.arduino.cc/t/esp32-s3-not-working-with-2-servos/1157409/14 "2023-09-03T02:31:44Z")

</div>

I didn't get it to work properly, after some more searching I found another library:

[https://github.com/Dlloydev/ESP32-ESP32S2-AnalogWrite](https://github.com/Dlloydev/ESP32-ESP32S2-AnalogWrite)

Works like a charm!

I used this code to test it, also easy writing with how its setup.

```arduino
#include <pwmWrite.h>

Pwm pwm = Pwm();

const int servoPin3 = 3;
const int servoPin5 = 5;
const int servoPin7 = 7;
const int servoPin9 = 9;

void setup() {
}

void loop() {
    pwm.writeServo(servoPin3, 180);
    pwm.writeServo(servoPin5, 0);
    pwm.writeServo(servoPin7, 180);
    pwm.writeServo(servoPin9, 0);
    delay(1000);
}

```

But I wanted to thankyou anyway because of your kindness for helping me when I asked a question!

---

_[View the full topic](https://forum.arduino.cc/t/esp32-s3-not-working-with-2-servos/1157409)._
