RPI OLED

From ElectroDragon Wiki
Revision as of 16:51, 14 January 2022 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Quick Start Guide

  • Please use default examples, python version 3, so >python3 demo.py
  • Default setup is 4 Line SPI
  • Demo codee please find here. In Display folder.
  • No need to soldering anythings if you want to quick start
  • change modes please refer below

RPI OLED

Setup Function I2C SPI-3_Wire SPI-4_Wire
BS0 Interface setup 1 0 1 0
BS1 Interface setup 2 1 0 0
CS NC for I2C / SPI_CS 0 CS: RPI_CE0 CS: RPI_CE0
DC ADDRESS / - / D/C Control ADDRESS: 0/1 NC D/C Control
D0 I2C_SCL / SPI_CLK I2C_SCL SPI_CLK SPI_CLK
D1 I2C_SDA / SPI_MOSI I2C_SDA SPI_MOSI SPI_MOSI
RST Reset by RPI pin GPIO25 or auto_reset - - -