Example of using threads to run different actions happening at the same time.

Dependencies:   Motor Servo

Issue: Thread::wait() and ThisThread::sleep_for() both run slow?

Not sure why but heartbeat should be running at 1 Hz, but it takes maybe 3-5 times more time than that?