Connect Vin to the power supply, 3-5V is fine. Use
the same voltage that the microcontroller logic is
based off of.
Connect GND to common power/data ground
Connect the Clk pin to the SPI clock SCK pin on
your Microcontroller.
Connect the Data pin to the SPI data MOSI pin on
your Microcontroller.
Connect the CS pin to D5 on your Microcontroller. If
you don't have this pin on your Microcontroller, feel
free to use a different one and update the example.
Connect the DC pin to D6 on your Microcontroller. If
you don't have this pin on your Microcontroller, feel
free to use a different one and update the example.
Connect the Rst pin to D9 on your Microcontroller. If
you don't have this pin on your Microcontroller, feel
free to use a different one and update the example.
CircuitPython displayio Library Installation
To use displayio, you will need to install the adafruit_ssd1327 library for your display.
First make sure you are running the latest version of Adafruit CircuitPython (https://adafru.it/Amd) for your
board. You will need the latest version of CircuitPython.
Next you'll need to install the necessary libraries to use the hardware--carefully follow the steps to find and
install these libraries from Adafruit's CircuitPython library bundle (https://adafru.it/zdx). Our introduction
guide has a great page on how to install the library bundle (https://adafru.it/ABU) for both express and
non-express boards.
You will need to copy the appropriate displayio driver from the bundle lib folder to a lib folder on your
CIRCUITPY drive. The displayio driver contains the initialization codes specific to your display that are
needed to for it to work.
If you want to use the board in SPI. mode, you need to cut J1 and J2 first. See Pinouts for more
details.
To use this grayscale OLED display with displayio, you will need to use the absolute latest version
of CircuitPython and a board that can fit `displayio`. See the Support Matrix to determine if
`displayio` is available on a given board: https://circuitpython.readthedocs.io/en/latest/sharedbindings/support_matrix.html