Hi folks, I’m a newbie on grovePi, but I’ve some experience in python and Arduino, well…
The following simple script has no output e break it execution itself
import time import grovepi button = 3 grovepi.pinMode(button,"INPUT") while True: try: print(grovepi.digitalRead(button)) time.sleep(.5) except IOError: print ("Error")
Obviously tried other pins but the problem is still here, and tried the grove_led_blink.py script from the dexter repository that works with no hassle.
So I guess that my problem isn’t hardware related.
How I’m wrong?