madhephaestus / ESP32Servo

Arduino-compatible servo library for the ESP32
139 stars 55 forks source link

Changes to support ESP32-S2 #18

Closed mishafarms closed 4 years ago

mishafarms commented 4 years ago

These are the changes needed to support the ESP32-S2.

In order to get the Arduino code to support S2 you need to use an unofficial release. That release doesn't seem to support the ESP32 at the same time. Here is a link to a video showing how to setup the Arduino for ESP32-S2. https://tutorial.cytron.io/2020/06/25/program-esp32-s2-using-arduino-ide-unofficial/.

I have compiled for both the normal ESP32 and the S2. I used the Espressif datasheet on the ESP32-S2 WROOM and WROVER to get the pins that are available.

Michael