|
DIY QlockTwo
Perfect DIY version of famous QlockTwo Classic with ESP8266
|
LedWord representing on word (only horizontal) on the matrix, defined by first pixel and word length. More...
#include <LedWord.h>
Public Member Functions | |
| LedWord () | |
| LedWord (int firstPixelX, int firstPixelY, int length) | |
| int | getFirstPixelX () const |
| void | setFirstPixelX (int firstPixelX) |
| int | getFirstPixelY () const |
| void | setFirstPixelY (int firstPixelX) |
| int | getLength () const |
| void | setLength (int length) |
Private Attributes | |
| int | firstPixelX |
| int | firstPixelY |
| int | length |
LedWord representing on word (only horizontal) on the matrix, defined by first pixel and word length.
| LedWord::LedWord | ( | ) |
Definition at line 3 of file LedWord.cpp.
| LedWord::LedWord | ( | int | firstPixelX, |
| int | firstPixelY, | ||
| int | length | ||
| ) |
Definition at line 5 of file LedWord.cpp.
| int LedWord::getFirstPixelX | ( | ) | const |
Definition at line 8 of file LedWord.cpp.
| int LedWord::getFirstPixelY | ( | ) | const |
Definition at line 16 of file LedWord.cpp.
| int LedWord::getLength | ( | ) | const |
Definition at line 24 of file LedWord.cpp.
| void LedWord::setFirstPixelX | ( | int | firstPixelX | ) |
Definition at line 12 of file LedWord.cpp.
| void LedWord::setFirstPixelY | ( | int | firstPixelX | ) |
Definition at line 20 of file LedWord.cpp.
| void LedWord::setLength | ( | int | length | ) |
Definition at line 28 of file LedWord.cpp.