Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    Split the problem up, check you button code is working by using them to light a LED. Then get your motor spinning. (Any reason why you are using the Analog Pins?) Commented Feb 23, 2017 at 13:11
  • I think yo need to read the buttons with analogRead() as you have connected them to A0 and A1 pins of arduino (A0 & A1 pins are analog ). Commented Dec 12, 2017 at 10:34
  • how many wires does the motor use? Commented Dec 13, 2017 at 0:22
  • your code looks like it is written to drive a regular motor Commented Dec 13, 2017 at 0:23