0

I recently went through the process of installing Adafruit-Blinka on a Raspberry Pi. The intent was to gain access to the 'rotaryio' module included with Circuitpython. After I went through the installation steps, ran a test script to confirm the installation was successful; 'import board', 'import digitalio', etc.. However when I run a script to "import rotaryio", I get the 'no module named rotaryio' error message. According to the Adafruit documentation 'rotaryio' is included in the installation.

Any suggestions on how to correct this error would be appreciated. Thanks

3
  • I’m voting to close this question because Circuit Python runs on Pico - not the Raspberry Pi.
    – Seamus
    Oct 26, 2023 at 23:42
  • NOTE the Adafruit-Blinka "instructions" are 5 years old and won't run on Bookworm.
    – Milliways
    Oct 26, 2023 at 23:59
  • Regarding Circuit Python , I can successfully run Circuit Python modules for MCP4275 and the PCA9685 boards. I was also able to run the Blinka Test python script after installing it. Thank you for the information. Oct 27, 2023 at 17:03

1 Answer 1

0

Per this page "Rotary encoders (rotaryio) is handled by interrupts on microcontrollers, and is not supported on SBCs at this time". Also, if you look here rotaryio is not listed as available on the Raspberry Pi, however, the Pi Pico is.

1
  • 1
    In addition "It was last updated on Jun 30, 2018" - it certainly doesn't seem to know about python 3.11
    – Milliways
    Oct 26, 2023 at 23:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.