miketeachman / micropython-rotary

MicroPython module to read a rotary encoder.
MIT License
269 stars 56 forks source link

Cannot install library into Thonny #31

Open tinerfe1986 opened 5 months ago

tinerfe1986 commented 5 months ago

Good morning,

Im trying to install the library into thonny 4.1.4, Windows 10 Python 3.10.11 Tk 8.6.13

And is not possible, I think because that version is not supporting MIP but Pipy, how can I install it? Even If I put the libraries in the same folder or opening simultaneusly just return me:

ImportError: no module named 'rotary_irq_rp2'

Thank you,

Kind Regards

muttering-oldman commented 5 months ago

Copy the files rotary.py and one of rotary_irq_rp2.py, rotary_irq_pyb.py, rotary_irq_esp.py that suits you for your board. Then load these files into the memory of your board and run the main file where you use this library.