Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Task

Create a program to sweep the servo back and forth between 0o and 180o gradually such that it takes a total of 18 seconds to complete a back and forth sweep.

Hint

Increment and decrement by 1o, with a 50 milliseconds delay at each step.