I have a brushless dc motor with encoder 12V and a Arduino Uno.
This is my first project and I'm crawling here with all you giants here.
I can see how my motor should be wired to the Uno.
https://www.dfrobot.com/wiki/index.php/FIT0441_Brushless_DC_Motor_with_Encoder_12V_159RPM
*Arduino GND to the power-
How can I move the motor so it will turn 72 degree every time I push button no.1 and stop at 360degree,
then going backwards 72 degree every time I push button no.2 and stop at 0 degree.
The code is the hardest part for me, anyone got some time to help me.
Is there some kind of software that can write the code.? have you seen a tutorial.?
What is the code for this.?