Device Driver Code for rotating half wave plate of polarimeter.