Adafruit DotStar Arduino Library
|
#include "Arduino.h"
#include <Adafruit_SPIDevice.h>
Go to the source code of this file.
Classes | |
class | Adafruit_DotStar |
Class that stores state and functions for interacting with Adafruit DotStars and compatible devices. More... | |
Macros | |
#define | DOTSTAR_RGB (0 | (1 << 2) | (2 << 4)) |
Transmit as R,G,B. | |
#define | DOTSTAR_RBG (0 | (2 << 2) | (1 << 4)) |
Transmit as R,B,G. | |
#define | DOTSTAR_GRB (1 | (0 << 2) | (2 << 4)) |
Transmit as G,R,B. | |
#define | DOTSTAR_GBR (2 | (0 << 2) | (1 << 4)) |
Transmit as G,B,R. | |
#define | DOTSTAR_BRG (1 | (2 << 2) | (0 << 4)) |
Transmit as B,R,G. | |
#define | DOTSTAR_BGR (2 | (1 << 2) | (0 << 4)) |
Transmit as B,G,R. | |
#define | DOTSTAR_MONO 0 |
Single-color strip WIP DO NOT USE, use RGB for now. | |
This file is part of the Adafruit_DotStar library.
Adafruit_DotStar 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.
Adafruit_DotStar 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 DotStar. If not, see http://www.gnu.org/licenses/.