I have been trying to implement this project using Tinkercad, but wasn't able to get a proper output and after troubleshooting the code and trying a couple of other options, I can't seem to be able to accurately detect the PWM voltage as feedback.
Currently, pwm output is connected to an analog...