![]() |
MD_Cubo LED Cube Arduino Library
2.1
Library to control LED Cubes
|
Header file for the MD_Cubo STC class. More...
#include <SoftwareSerial.h>
Include dependency graph for MD_Cubo_4x4_STC.h:
This graph shows which files directly or indirectly include this file:Classes | |
| class | MD_Cubo_STC |
Macros | |
| #define | DEBUG_STC 0 |
| Enable or disable (default) debugging output from the example. | |
| #define | PRINT(s, v) |
| Print a string followed by a value (decimal) | |
| #define | PRINTX(s, v) |
| Print a string followed by a value (hex) | |
| #define | PRINTB(s, v) |
| Print a string followed by a value (binary) | |
| #define | PRINTS(s) |
| Print a string. | |
Variables | |
| const uint8_t | CUBE_SIZE = 4 |
| Cube size in the X, Y and Z axis;. | |
| const uint8_t | LED_DATA_SIZE = (CUBE_SIZE * CUBE_SIZE * CUBE_SIZE * 3) |
| LEDs x 3 RGB color values. | |
| const uint8_t | HW_INIT = 0xad |
| Hardware initialization into serial mode. Send within 5 seconds of HW reset. | |
| const uint8_t | HW_START_MSG = 0xea |
| Hardware start serial message packet. | |
| const uint8_t | HW_END_MSG = 0xeb |
| Hardware end serial message packet. Repeat once at end of packet. | |
Header file for the MD_Cubo STC class.