Grove Button

Moderators: lily.li, violet, salmanfarisvp

Post Reply
freddotnet
Pre-kindergarten
Pre-kindergarten
Posts: 4
Joined: Tue Jan 06, 2015 8:28 pm

Grove Button

Post by freddotnet » Wed Mar 18, 2015 3:23 am

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

back_kevin
Pre-kindergarten
Pre-kindergarten
Posts: 14
Joined: Sat Dec 06, 2014 7:07 am

Re: Grove Button

Post by back_kevin » Wed Mar 18, 2015 4:43 am

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

Post Reply