|
Adafruit NeoMatrix
|
#include <WProgram.h>#include <pins_arduino.h>#include <Adafruit_GFX.h>#include <Adafruit_NeoPixel.h>Go to the source code of this file.
Classes | |
| class | Adafruit_NeoMatrix |
| Class for using NeoPixel matrices with the GFX graphics library. More... | |
Macros | |
| #define | NEO_MATRIX_TOP 0x00 |
| Pixel 0 is at top of matrix. | |
| #define | NEO_MATRIX_BOTTOM 0x01 |
| Pixel 0 is at bottom of matrix. | |
| #define | NEO_MATRIX_LEFT 0x00 |
| Pixel 0 is at left of matrix. | |
| #define | NEO_MATRIX_RIGHT 0x02 |
| Pixel 0 is at right of matrix. | |
| #define | NEO_MATRIX_CORNER 0x03 |
| Bitmask for pixel 0 matrix corner. | |
| #define | NEO_MATRIX_ROWS 0x00 |
| Matrix is row major (horizontal) | |
| #define | NEO_MATRIX_COLUMNS 0x04 |
| Matrix is column major (vertical) | |
| #define | NEO_MATRIX_AXIS 0x04 |
| Bitmask for row/column layout. | |
| #define | NEO_MATRIX_PROGRESSIVE 0x00 |
| Same pixel order across each line. | |
| #define | NEO_MATRIX_ZIGZAG 0x08 |
| Pixel order reverses between lines. | |
| #define | NEO_MATRIX_SEQUENCE 0x08 |
| Bitmask for pixel line order. | |
| #define | NEO_TILE_TOP 0x00 |
| First tile is at top of matrix. | |
| #define | NEO_TILE_BOTTOM 0x10 |
| First tile is at bottom of matrix. | |
| #define | NEO_TILE_LEFT 0x00 |
| First tile is at left of matrix. | |
| #define | NEO_TILE_RIGHT 0x20 |
| First tile is at right of matrix. | |
| #define | NEO_TILE_CORNER 0x30 |
| Bitmask for first tile corner. | |
| #define | NEO_TILE_ROWS 0x00 |
| Tiles ordered in rows. | |
| #define | NEO_TILE_COLUMNS 0x40 |
| Tiles ordered in columns. | |
| #define | NEO_TILE_AXIS 0x40 |
| Bitmask for tile H/V orientation. | |
| #define | NEO_TILE_PROGRESSIVE 0x00 |
| Same tile order across each line. | |
| #define | NEO_TILE_ZIGZAG 0x80 |
| Tile order reverses between lines. | |
| #define | NEO_TILE_SEQUENCE 0x80 |
| Bitmask for tile line order. | |
Arduino library to control single and tiled matrices of WS2811- and WS2812-based RGB LED devices such as the Adafruit NeoPixel Shield or displays assembled from NeoPixel strips, making them compatible with the Adafruit_GFX graphics library.
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
Written by Phil Burgess / Paint Your Dragon for Adafruit Industries.
This file is part of the Adafruit NeoMatrix library.
NeoMatrix is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
NeoMatrix is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with NeoMatrix. If not, see http://www.gnu.org/licenses/.
1.8.13