Grove Button Confusion[SOLVED]

In my ongoing tinkering with the GrovePi since I have received this awesome new gizmo, I’ve been slowing moving up in the complexity of my projects.

Tonight I am trying to add a button that will execute some python script. However, as I was testing the button. Using the included button example from both SeeedStudio and what was included. My button returns -1 on D3. From my understanding, using that provided code. The button should return only a 1 or 0?

Any thoughts or advice would be appreciated.

Solved the issue!

Bad Button!

This topic was automatically closed after 24 hours. New replies are no longer allowed.