/WS0010_demo_code

Primary LanguageC++The UnlicenseUnlicense

WS0010 Demonstration Code

Example Seeeduino (Arduino clone) code for the Crystalfontz family of OLED displays that use the WS0010 controller. These displays come in a variety of interface options and colors.

Below is a full list of parts that we offer that use this controller.

CFAL0802AY
CFAL1202AY
CFAL1602CB
CFAL1602CG
CFAL1602CGT
CFAL1602CPW
CFAL1602CPY
CFAL1602CPYT
CFAL1602CW
CFAL1602CY
CFAL1602CYT
CFAL1602H0Y
CFAL2002AY
CFAL2004AY

Connection Details

SPI Configuration
Display Pin Seeeduino Pin Connection Description
GND GND Ground
3v3 3v3 Voltage in
CS D9 Chip Select
MOSI D11 Master Out Slave In
MISO D12 Master In Slave Out
SCK D13 Serial Clock

Parallel Configuration

Display Pin Seeeduino Pin Connection Description
GND GND Ground
3v3 3v3 Voltage in
DC (RS) D8 Data or Command Register Select
CS D9 Chip Select
WR/RW D10 Write (8080) or Read/Write (6800)
D0 D0 Data pin 0
D1 D1 Data pin 1
D2 D2 Data pin 2
D3 D3 Data pin 3
D4 D4 Data pin 4
D5 D5 Data pin 5
D6 D6 Data pin 6 or Clock pin for SPI
D7 D7 Data pin 7 or MOSI pin for SPI

I2C Configuration

This code currently only demonstrates using the SPI and parallel interface.