Added Example of use in Motor COntrol Loop to programming.rst