How to make a servo motor rotate 90 degrees then back to its original position

So try changing write(-90) to write(0). Does that do what you want?

Steve

1 Like