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.

5
  • 1
    First delete everything except initializing and printing the value of the pin from a copy of the sketch; especially disconnect the motor driver. Then use something else like a wire connected to Vcc or Ground to source the input, and verify that you are reading the pin you are switching. Commented Jun 10, 2017 at 17:31
  • Is the ground of the Arduino connected to the ground of the Pi? Commented Jun 10, 2017 at 21:55
  • @ChrisStratton I will try that, thank you for your input. Commented Jun 11, 2017 at 7:36
  • @Majenko I have not currently got the ground from the arduino going to the ground on the pi, but the signal from the pi is grounded on the pi itself. Commented Jun 11, 2017 at 7:36
  • hackingmajenkoblog.wordpress.com/2016/12/06/… Commented Jun 11, 2017 at 7:43