If I need to provide more information please let me know.
The issue I'm having is in order to confirm the version of a sketch I was working on I reuploaded it without any modifications and now I'm getting a compile error on the function "ledcAttachPin()".
I'm positive this code used to work, it controlled my motor great, worked as expected.
I tried everything chatGPT suggested but no luck.
Most of the code in this gist is irrelevant but the problem is on line 166, I left some notes. sketch_feb27a.ino · GitHub
Any help would be greatly appreciated! I'm just out of ideas.