Button digitalRead in RPi3

I try to run grove_button.py on RPI 3.
When button pressed, digtialRead(button) always return 0,

but grove_button.py works fine on RPI2.

Is it a bug ?

Hi @kenghao_chen,

It seems like a repetition of another post and we will be answering the questions there so let’s just move the conversation to that post.