Page 1 of 1

Grove Button

Posted: Wed Mar 18, 2015 3:23 am
by freddotnet
Hi,

I can't get the Grove Button to work with the Linkit One.

I've configured the pin as a input and tried with many different pins.

The digitalRead command always returns a 1 and if I've pull the pin to ground I get a 0.

When measuring the voltage over the pin and I get 2.25 V.

I think the pins are always pulled high through a internal pull-up and that you need to pull the pin low instead of high as the Grove button is designed?

Or is there a way to control the pull-up resistor of a pin?

Kind regards,
Frederik

Re: Grove Button

Posted: Wed Mar 18, 2015 4:43 am
by back_kevin
hi

the grove bp don`t works

i have the same probleme keep your sketch and change the bp to Touch Sensor
and try now this works