Adafruit SSD1325 Library
Classes | Macros
Adafruit_SSD1325.h File Reference
#include "Arduino.h"
#include <Adafruit_GFX.h>

Go to the source code of this file.

Classes

class  Adafruit_SSD1325
 Class that stores state and functions for interacting with SSD1325 OLED displays. More...
 

Macros

#define BLACK   0
 Draw 'off' pixels.
 
#define WHITE   1
 Draw 'on' pixels.
 
#define SSD1325_128_64
 Way to specify 128x32 screen.
 
#define SSD1325_LCDWIDTH   128
 Width w/SSD1325_128_64 defined.
 
#define SSD1325_LCDHEIGHT   64
 Height w/SSD1325_128_64 defined.
 
#define SSD1325_SETCOLADDR   0x15
 Set column address.
 
#define SSD1325_SETROWADDR   0x75
 Set row address.
 
#define SSD1325_SETCONTRAST   0x81
 Set contrast current.
 
#define SSD1325_SETCURRENT   0x84
 Set current range.
 
#define SSD1325_SETREMAP   0xA0
 Set re-map.
 
#define SSD1325_SETSTARTLINE   0xA1
 Set display start line.
 
#define SSD1325_SETOFFSET   0xA2
 Set display offset.
 
#define SSD1325_NORMALDISPLAY   0xA4
 Set display mode normal.
 
#define SSD1325_DISPLAYALLON   0xA5
 Set entire display on.
 
#define SSD1325_DISPLAYALLOFF   0xA6
 Set entire display off.
 
#define SSD1325_INVERTDISPLAY   0xA7
 Invert display.
 
#define SSD1325_SETMULTIPLEX   0xA8
 Set multiplex ratio.
 
#define SSD1325_MASTERCONFIG   0xAD
 Set master configuration.
 
#define SSD1325_DISPLAYOFF   0xAE
 Set display off.
 
#define SSD1325_DISPLAYON   0xAF
 Set display on.
 
#define SSD1325_SETPRECHARGECOMPENABLE   0xB0
 Set pre-charge compensation enable.
 
#define SSD1325_SETPHASELEN   0xB1
 Set phase length.
 
#define SSD1325_SETROWPERIOD   0xB2
 Set row period.
 
#define SSD1325_SETCLOCK   0xB3
 Set display clock divide ratio.
 
#define SSD1325_SETPRECHARGECOMP   0xB4
 Set pre-charge.
 
#define SSD1325_SETGRAYTABLE   0xB8
 Set gray scale table.
 
#define SSD1325_SETPRECHARGEVOLTAGE   0xBC
 Set precharge voltage.
 
#define SSD1325_SETVCOMLEVEL   0xBE
 Set Vcomh Voltage.
 
#define SSD1325_SETVSL   0xBF
 Set segment low voltage (VSL)
 
#define SSD1325_GFXACCEL   0x23
 Graphic acceleration command options.
 
#define SSD1325_DRAWRECT   0x24
 Draw rectangle.
 
#define SSD1325_COPY   0x25
 Copy.