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