I recently bought a dc motor with a hall sensor encoder on it . I have searched many tutorials but still do not know how to program it to spin 360 degrees with a button. I am using this dc motor with encoder attached Store | Jaycon Systems. The motor encoder specifications are in the PDF file. I will use a 12volt 300 ma power source for the motor. I am using an arduino uno for this project. What would I have to write to have the motor turn 360 degrees?