ArduinoGeneral

Beetle ESP32 to control servo

userHead Account cancelled 2019-11-28 05:10:18 955 Views1 Replies
Hi,
I have bought the Beetle ESP32, and after installing all the libraries (FireBeetle and also servo ESP32) I can't even run the simplest servo example. My main problem is that I don't know how to call the PINOUTS.
I have try the names that are written on the board, but " 'D4' was not declared in this scope". I tried by adding "static const uint8_t D4 = 12 ", the error disappears but the code neither works.
I would really appreciate if someone knows what the problem is, I think that it's about how I call the PIN. I need to use this in a really important project and I am in real trouble.
Thanks so much.