![]() |
MatrixMiniR4 1.1.5
Matrix Mini R4 Arduino Library API Documentation
|
Handling MiniR4.OLED functions. (Full Wrapping from Adafruit_SSD1306) More...
Go to the source code of this file.
Classes | |
class | Adafruit_SSD1306 |
Class that stores state and functions for interacting with SSD1306 OLED displays. More... | |
Macros | |
#define | SSD1306_128_32 |
DEPRECATED: old way to specify 128x32 screen. | |
#define | BLACK SSD1306_BLACK |
Draw 'off' pixels. | |
#define | WHITE SSD1306_WHITE |
Draw 'on' pixels. | |
#define | INVERSE SSD1306_INVERSE |
Invert pixels. | |
#define | SSD1306_BLACK 0 |
fit into the SSD1306_ naming scheme | |
#define | SSD1306_WHITE 1 |
Draw 'on' pixels. | |
#define | SSD1306_INVERSE 2 |
Invert pixels. | |
#define | SSD1306_MEMORYMODE 0x20 |
See datasheet. | |
#define | SSD1306_COLUMNADDR 0x21 |
See datasheet. | |
#define | SSD1306_PAGEADDR 0x22 |
See datasheet. | |
#define | SSD1306_SETCONTRAST 0x81 |
See datasheet. | |
#define | SSD1306_CHARGEPUMP 0x8D |
See datasheet. | |
#define | SSD1306_SEGREMAP 0xA0 |
See datasheet. | |
#define | SSD1306_DISPLAYALLON_RESUME 0xA4 |
See datasheet. | |
#define | SSD1306_DISPLAYALLON 0xA5 |
Not currently used. | |
#define | SSD1306_NORMALDISPLAY 0xA6 |
See datasheet. | |
#define | SSD1306_INVERTDISPLAY 0xA7 |
See datasheet. | |
#define | SSD1306_SETMULTIPLEX 0xA8 |
See datasheet. | |
#define | SSD1306_DISPLAYOFF 0xAE |
See datasheet. | |
#define | SSD1306_DISPLAYON 0xAF |
See datasheet. | |
#define | SSD1306_COMSCANINC 0xC0 |
Not currently used. | |
#define | SSD1306_COMSCANDEC 0xC8 |
See datasheet. | |
#define | SSD1306_SETDISPLAYOFFSET 0xD3 |
See datasheet. | |
#define | SSD1306_SETDISPLAYCLOCKDIV 0xD5 |
See datasheet. | |
#define | SSD1306_SETPRECHARGE 0xD9 |
See datasheet. | |
#define | SSD1306_SETCOMPINS 0xDA |
See datasheet. | |
#define | SSD1306_SETVCOMDETECT 0xDB |
See datasheet. | |
#define | SSD1306_SETLOWCOLUMN 0x00 |
Not currently used. | |
#define | SSD1306_SETHIGHCOLUMN 0x10 |
Not currently used. | |
#define | SSD1306_SETSTARTLINE 0x40 |
See datasheet. | |
#define | SSD1306_EXTERNALVCC 0x01 |
External display voltage source. | |
#define | SSD1306_SWITCHCAPVCC 0x02 |
Gen. display voltage from 3.3V. | |
#define | SSD1306_RIGHT_HORIZONTAL_SCROLL 0x26 |
Init rt scroll. | |
#define | SSD1306_LEFT_HORIZONTAL_SCROLL 0x27 |
Init left scroll. | |
#define | SSD1306_VERTICAL_AND_RIGHT_HORIZONTAL_SCROLL 0x29 |
Init diag scroll. | |
#define | SSD1306_VERTICAL_AND_LEFT_HORIZONTAL_SCROLL 0x2A |
Init diag scroll. | |
#define | SSD1306_DEACTIVATE_SCROLL 0x2E |
Stop scroll. | |
#define | SSD1306_ACTIVATE_SCROLL 0x2F |
Start scroll. | |
#define | SSD1306_SET_VERTICAL_SCROLL_AREA 0xA3 |
Set scroll range. | |
#define | SSD1306_LCDWIDTH 128 |
DEPRECATED: width w/SSD1306_128_32 defined. | |
#define | SSD1306_LCDHEIGHT 32 |
DEPRECATED: height w/SSD1306_128_32 defined. | |
Handling MiniR4.OLED functions. (Full Wrapping from Adafruit_SSD1306)
Definition in file MiniR4OLED.h.
#define BLACK SSD1306_BLACK |
Draw 'off' pixels.
The following "raw" color names are kept for backwards client compatability They can be disabled by predefining this macro before including the Adafruit header client code will then need to be modified to use the scoped enum values directly
Definition at line 96 of file MiniR4OLED.h.
#define INVERSE SSD1306_INVERSE |
Invert pixels.
Definition at line 98 of file MiniR4OLED.h.
#define SSD1306_128_32 |
DEPRECATED: old way to specify 128x32 screen.
Orginal file Adafruit_SSD1306.h
This is part of for Adafruit's SSD1306 library for monochrome OLED displays: http://www.adafruit.com/category/63_98
These displays use I2C or SPI to communicate. I2C requires 2 pins (SCL+SDA) and optionally a RESET pin. SPI requires 4 pins (MOSI, SCK, select, data/command) and optionally a reset pin. Hardware SPI or 'bitbang' software SPI are both supported.
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
Written by Limor Fried/Ladyada for Adafruit Industries, with contributions from the open source community.
BSD license, all text above, and the splash screen header file, must be included in any redistribution.
Definition at line 59 of file MiniR4OLED.h.
#define SSD1306_ACTIVATE_SCROLL 0x2F |
Start scroll.
Definition at line 138 of file MiniR4OLED.h.
#define SSD1306_BLACK 0 |
#define SSD1306_CHARGEPUMP 0x8D |
See datasheet.
Definition at line 109 of file MiniR4OLED.h.
#define SSD1306_COLUMNADDR 0x21 |
See datasheet.
Definition at line 106 of file MiniR4OLED.h.
#define SSD1306_COMSCANDEC 0xC8 |
See datasheet.
Definition at line 119 of file MiniR4OLED.h.
#define SSD1306_COMSCANINC 0xC0 |
Not currently used.
Definition at line 118 of file MiniR4OLED.h.
#define SSD1306_DEACTIVATE_SCROLL 0x2E |
Stop scroll.
Definition at line 137 of file MiniR4OLED.h.
#define SSD1306_DISPLAYALLON 0xA5 |
Not currently used.
Definition at line 112 of file MiniR4OLED.h.
#define SSD1306_DISPLAYALLON_RESUME 0xA4 |
See datasheet.
Definition at line 111 of file MiniR4OLED.h.
#define SSD1306_DISPLAYOFF 0xAE |
See datasheet.
Definition at line 116 of file MiniR4OLED.h.
#define SSD1306_DISPLAYON 0xAF |
See datasheet.
Definition at line 117 of file MiniR4OLED.h.
#define SSD1306_EXTERNALVCC 0x01 |
External display voltage source.
Definition at line 130 of file MiniR4OLED.h.
#define SSD1306_INVERSE 2 |
Invert pixels.
Definition at line 103 of file MiniR4OLED.h.
#define SSD1306_INVERTDISPLAY 0xA7 |
See datasheet.
Definition at line 114 of file MiniR4OLED.h.
#define SSD1306_LCDHEIGHT 32 |
DEPRECATED: height w/SSD1306_128_32 defined.
Definition at line 148 of file MiniR4OLED.h.
#define SSD1306_LCDWIDTH 128 |
DEPRECATED: width w/SSD1306_128_32 defined.
Definition at line 147 of file MiniR4OLED.h.
#define SSD1306_LEFT_HORIZONTAL_SCROLL 0x27 |
Init left scroll.
Definition at line 134 of file MiniR4OLED.h.
#define SSD1306_MEMORYMODE 0x20 |
See datasheet.
Definition at line 105 of file MiniR4OLED.h.
#define SSD1306_NORMALDISPLAY 0xA6 |
See datasheet.
Definition at line 113 of file MiniR4OLED.h.
#define SSD1306_PAGEADDR 0x22 |
See datasheet.
Definition at line 107 of file MiniR4OLED.h.
#define SSD1306_RIGHT_HORIZONTAL_SCROLL 0x26 |
Init rt scroll.
Definition at line 133 of file MiniR4OLED.h.
#define SSD1306_SEGREMAP 0xA0 |
See datasheet.
Definition at line 110 of file MiniR4OLED.h.
#define SSD1306_SET_VERTICAL_SCROLL_AREA 0xA3 |
Set scroll range.
Definition at line 139 of file MiniR4OLED.h.
#define SSD1306_SETCOMPINS 0xDA |
See datasheet.
Definition at line 123 of file MiniR4OLED.h.
#define SSD1306_SETCONTRAST 0x81 |
See datasheet.
Definition at line 108 of file MiniR4OLED.h.
#define SSD1306_SETDISPLAYCLOCKDIV 0xD5 |
See datasheet.
Definition at line 121 of file MiniR4OLED.h.
#define SSD1306_SETDISPLAYOFFSET 0xD3 |
See datasheet.
Definition at line 120 of file MiniR4OLED.h.
#define SSD1306_SETHIGHCOLUMN 0x10 |
Not currently used.
Definition at line 127 of file MiniR4OLED.h.
#define SSD1306_SETLOWCOLUMN 0x00 |
Not currently used.
Definition at line 126 of file MiniR4OLED.h.
#define SSD1306_SETMULTIPLEX 0xA8 |
See datasheet.
Definition at line 115 of file MiniR4OLED.h.
#define SSD1306_SETPRECHARGE 0xD9 |
See datasheet.
Definition at line 122 of file MiniR4OLED.h.
#define SSD1306_SETSTARTLINE 0x40 |
See datasheet.
Definition at line 128 of file MiniR4OLED.h.
#define SSD1306_SETVCOMDETECT 0xDB |
See datasheet.
Definition at line 124 of file MiniR4OLED.h.
#define SSD1306_SWITCHCAPVCC 0x02 |
Gen. display voltage from 3.3V.
Definition at line 131 of file MiniR4OLED.h.
#define SSD1306_VERTICAL_AND_LEFT_HORIZONTAL_SCROLL 0x2A |
Init diag scroll.
Definition at line 136 of file MiniR4OLED.h.
#define SSD1306_VERTICAL_AND_RIGHT_HORIZONTAL_SCROLL 0x29 |
Init diag scroll.
Definition at line 135 of file MiniR4OLED.h.
#define SSD1306_WHITE 1 |
Draw 'on' pixels.
Definition at line 102 of file MiniR4OLED.h.
#define WHITE SSD1306_WHITE |
Draw 'on' pixels.
Definition at line 97 of file MiniR4OLED.h.