You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uncaught exception in ExtInt interrupt handler line 1
Traceback (most recent call last):
File "encoder_timed.py", line 28, in x_callback
AttributeError: 'str' object has no attribute 'value'
uncaught exception in ExtInt interrupt handler line 2
Traceback (most recent call last):
File "encoder_timed.py", line 34, in y_callback
AttributeError: 'str' object has no attribute 'value'
`
The text was updated successfully, but these errors were encountered:
I think you are passing strings as pin_x and pin_y constructor arguments. They should be Pin instances (and those pins should be configured as inputs).
Hi. Thanks to shearing encoder_timed.py.
I want use for measuring velocity rotary encoder but can't.
`
when using rotary encoder;
`
added lines
import micropython
micropython.alloc_emergency_exception_buf(100)
`
`
`
The text was updated successfully, but these errors were encountered: