4 Replies Latest reply on Jun 24, 2015 2:58 PM by cjjunior521

    Reading button state from Edison


      Hi all,


      I'm starting out using the Intel Edison with the Sparkfun blocks. Specifically I've added on the Base block and GPIO block. I've been messing with some basic Arduino example sketches to get a feel of things but have been having trouble with just reading button inputs.

      I used the code and circuit diagram for digitalRead Serial from Arduino. When I press a button, the serial monitor does go high (output "1") but it stays stuck like this no matter how many times or how long the button is pressed. I know it's basic, but any ideas as to why it is stuck?