GrovePi icon indicating copy to clipboard operation
GrovePi copied to clipboard

digitalRead not working

Open KarthiAru opened this issue 5 years ago • 1 comments

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 avatar Aug 01 '20 12:08 KarthiAru

Solved. Updated the firmware first and then the libraries.

KarthiAru avatar Aug 01 '20 13:08 KarthiAru