public class SharedConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BAUD_RATE
The baud rate used for serial communication with the microcontroller.
|
static byte |
BRIGHTNESS_COMMAND |
static byte |
COLOR_COMMAND |
static byte |
COLORS_COMMAND |
static byte |
CONTROLLER_DATA
The amount of bytes available for a controller to save data on the
microcontroller.
|
static byte |
EEP_MULTIPLIER
The amount of bytes on the microcontroller to save all data for a LED
strip.
|
static byte |
HANDSHAKE_COMMAND |
static byte |
LED_BLOCK_SIZE
The amount of pixels in every color data block sent to the
microcontroller.
|
static byte |
LOAD_COMMAND |
static byte |
LOG_COMMAND |
static byte |
MAX_PINS
The amount of pins a LED strip can be connected to.
|
static byte |
PIN_START
The pin number on the microcontroller where the first LED strip can be
connected to.
|
static byte |
PING_COMMAND |
static byte |
SAVE_COMMAND |
static byte |
SHOW_COMMAND |
static int |
TIMEOUT
The timeout used for serial communication with the microcontroller
|
static byte |
TIMEOUT_COMMAND |
static int |
UINT16_MAX_VALUE
The maximum value of a 16 bit unsigned integer.
|
Constructor and Description |
---|
SharedConstants() |
public static final int UINT16_MAX_VALUE
public static final int TIMEOUT
public static final int BAUD_RATE
public static final byte PIN_START
public static final byte MAX_PINS
public static final byte LED_BLOCK_SIZE
public static final byte LOG_COMMAND
public static final byte SAVE_COMMAND
public static final byte LOAD_COMMAND
public static final byte BRIGHTNESS_COMMAND
public static final byte SHOW_COMMAND
public static final byte COLOR_COMMAND
public static final byte COLORS_COMMAND
public static final byte HANDSHAKE_COMMAND
public static final byte TIMEOUT_COMMAND
public static final byte PING_COMMAND
public static final byte EEP_MULTIPLIER
public static final byte CONTROLLER_DATA