The device that I have is a Adafruit Featherwing OLED - 128 x 64 Add-on For Feather display (4650). When I bought it, I really didn’t know much about the different devices or code that was needed to support it.
I want to use it with my Raspberry Pi-4 and Raspbian. It uses the I2C interface and since I had used my Raspberry Pi-4 to interface with other I2C devices, I figured this would work.
Thanks for your response where you suggested that I look at:
Overview | CircuitPython on Linux and Raspberry Pi | Adafruit Learning System.
There I found this encouraging phrase.
The upshot is that any code we have for CircuitPython will be instantly and easily runnable on Linux computers like Raspberry Pi.
In particular, we'll be able to use all of our device drivers - the sensors, led controllers, motor drivers, HATs, bonnets, etc. And nearly all of these use I2C or SPI!
I have performed all of the operations described, ending with the install of raspi-blinka.py.
I can run blinkatest.py successfully.I don’t have the devices used in the examples, but I have successfully used other I2C devices with the pi-4.
I have Adafruit_CircuitPython_DisplayIO_SH1107-main folder on my pi-4. Inside that folder is the file adafruit_displayio_sh1107.py. When I run that file, I get:
ModuleNotFoundError: No module named ‘displayio’
Other example code imports displayio and terminalio.
Therefore, my original question:
Where do I find the libraries?
And your original answer:
Those are both "core" libraries. So they are written in C and are found in the circuitpython source code repo:
https://github.com/adafruit/circuitpythonFrom that site I downloaded the package and found these files:
circuitpython-main/ports/atmel-samd/common-hal/displayio/ParallelBus.c
circuitpython-main/ports/atmel-samd/common-hal/displayio/ParallelBus.h
circuitpython-main/shared-bindings/terminalio/Terminal.c
circuitpython-main/shared-bindings/terminalio/Terminal.h
This is encouraging, but I don’t know what to do next.