Updated code with new motor control process. Updated pinout documents to reflect changes.