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
Hi,
The python program
grove_button.pygets stuck if there isdigitalRead. It prints 255 when the button is pressed down, but hangs when the button is released.digitalWriteis working fine. What could be the issue here?Setup: