Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

digitalRead not working #489

Open
KarthiAru opened this issue Aug 1, 2020 · 1 comment
Open

digitalRead not working #489

KarthiAru opened this issue Aug 1, 2020 · 1 comment

Comments

@KarthiAru
Copy link

KarthiAru commented Aug 1, 2020

Hi,

The python program grove_button.py gets stuck if there is digitalRead. It prints 255 when the button is pressed down, but hangs when the button is released. digitalWrite is working fine. What could be the issue here?

Setup:

  • Hardware: Raspberrypi 3B and GrovePi+
  • Software: 2019.04.05_Raspbian_For_Robots_by_Dexter_Industries_Stretch (updated), Python 2.7 & 3.5
@KarthiAru
Copy link
Author

Solved. Updated the firmware first and then the libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant