/
Exercise 5

Exercise 5

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.

Related content

Exercise 5 Solution
Exercise 5 Solution
More like this
Exercise 4
Exercise 4
More like this
Exercise 4 Solution
Exercise 4 Solution
More like this
Servo Motors
Servo Motors
More like this
Exercise 2
Exercise 2
More like this