im trying to do a little project the purpose or the goal of
i\'m trying to do a little project
the purpose or the goal of the project is to use an arduino board to use a motor and spin it back and forth in both directions
now the reason why i\'m posting this question is i\'m having difficulty finding a comprehensive tutorial that can help me in this regard. the most comprehensive i was shown was a youtube tutorial that used this diagram in this link
https://www.youtube.com/watch?v=5nDaHJqruq0&list=WL&index=25
but the code used is missing so i don\'t know how to structure it
Solution
To accelerate and decelerate the motor. To do this simply change the loop() code to read
for further details please read the article in
http://www.instructables.com/id/Arduino-Expermentation-Kit-How-to-get-Started-wi/step5/Spin-Motor-Spin-Transistor-amp-Motor-CIRC03/
