Pendulum like gizmo (saw-blade) attached to a servo with an led mounted to the tip. This is the servo controlling software, real-time implementation with threads.