Compilation error: 'ledcSetup' was not declared in this scope

EN:
I found a project on YouTube and decided to repeat it, but for some reason I keep getting an error when compiling: Compilation error: 'ledcSetup' was not declared in this scope.

Here is the code (WaterDance):

RU:
И находился на проекте на YouTube и решил, что это, но для некоторого смысла я бросил вызов error при compiling: Скопирание error: 'ledcSetup' не було вказано в цьому ряду.

Вот код (WaterDance):

What arduino board do you use for the project?

as in the original project i am using esp 32