Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.92 KB

README.md

File metadata and controls

52 lines (32 loc) · 1.92 KB

ssd1331-spin


This is a P8X32A/Propeller, P2X8C4M64P/Propeller 2 driver object for the Solomon Systech SSD1331 OLED display controller.

IMPORTANT: This software is meant to be used with the spin-standard-library (P8X32A) or p2-spin-standard-library (P2X8C4M64P). Please install the applicable library first before attempting to use this code, otherwise you will be missing several files required to build the project.

Salient Features

  • SPI connection at 20MHz (P1), up to 20MHz (P2)
  • Most accelerated graphics primitives implemented
  • Supports horizontal and vertical mirroring
  • Supports interlaced and non-interlaced display
  • Supports normal and inverted display
  • Supports hardware-accelerated scrolling (horizontal right, or diagonal right/up)
  • Integration with the generic bitmap graphics library

Requirements

P1/SPIN1:

  • spin-standard-library
  • P1: 1 extra core/cog for the PASM SPI engine
  • graphics.common.spinh (provided by spin-standard-library)

P2/SPIN2:

  • p2-spin-standard-library
  • graphics.common.spin2h (provided by p2-spin-standard-library)

Compiler Compatibility

Processor Language Compiler Backend Status
P1 SPIN1 FlexSpin (6.9.4) Bytecode OK
P1 SPIN1 FlexSpin (6.9.4) Native/PASM OK
P2 SPIN2 FlexSpin (6.9.4) NuCode OK
P2 SPIN2 FlexSpin (6.9.4) Native/PASM2 OK

(other versions or toolchains not listed are not supported, and may or may not work)

Hardware compatibility

  • Tested with Parallax #28087 (Waveshare SKU# 10514)

Limitations

  • TBD