Complete the Motor example.
Merge pull request #1105 from ajdavis/patch-1

Complete the Motor example.