Open maltejahn opened 1 year ago
Hi,
also another problem is the 100 percent usage when using the example. Probably due to this:
while True:
# if GPIO.input(INT_pin) == False: #
# Encoder_INT() #
time.sleep(0.00001) <- added by me
pass
I added some sleep (so about 20 pervent load by python), also played aroung with the value.
The problem, that the mc isnt responding anymore, remains. Is the buffer of the PIC mc too small? It seems that it crash mor often when rotating fast. But sometimes it also crashes when doing slot rotation
Hi,
i bought version 2.1 and i am trying to run it on a raspberry 4 later in combination with the led ring (both connected to the RPi). I2C is set to 100kHz in the config.txt
Now it occurs after some random turns of the encoder that the, i think, mc of the encoder crashes because
i2cdetect -y 1
still sees my LED ring, but the encoder is gone after the error:After this error i have to disconnect the Encoder/LED Ring. It doesnt help to just rerun the script.
I tried it multiple times to see if there is a kinf of pattern. But it crashes after 700.... 3000 clicks. Slow or fast does also seem to do the same. Any ideas?