Running the project

When this code is run, the motor should spin in one direction for two seconds, stop for one second, spin in the other direction for two seconds, stop for one second and then start over.

Get Mastering Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.