DC motor


For a project I’m doing I would like to use an Arduino. I only have a little knowledge of arduino. I am not a programmer and don’t want to know how the Arduino works. The Arduino just seems easy to use in this project. Can someone help me?

I would like to move a dc motor in 2 directions through 2 push buttons. Right button pressed: Motor rotates clockwise. Left button pressed: Motor turns left. Nothing pressed: motor stops.

I would like to do this with a motor shield (extra power). Could someone write the code?


I am not a programmer and don't want to know how the Arduino works.

Then get rid of it, and just use a switch.

ok, maybe I told it incorrectly.

I need this Arduino only 1 time and I don't have the time to learn it completely. So this is why I ask someone to write a code.

I use the arduino because I also want to control servos and LEDs, but I will be able to do it myself