Quote Originally Posted by madxice View Post
Hello again,

For my buck problem, I found a good example. With little changes I applied to my circuit. Now it is working. This circuit was maintaining the voltage.It was infiinite loop.
How nice you found code, but why not share it so we can follow.