Code specific for Linear Rotary Motor 2013 Senior Design Project.