Fixes include: * It's working now. ;-) * Added new commands: * ? returns a help via Serial * r sets every LED to a random color * t sets the whole strip to green * Afte receiving the first command, the status LED changes for every received command.
27 lines
465 B
C
27 lines
465 B
C
void cmd_length();
|
|
void cmd_fill();
|
|
void cmd_receive();
|
|
void cmd_output();
|
|
void cmd_clear();
|
|
void cmd_version();
|
|
void cmd_get_max();
|
|
void cmd_random_color();
|
|
void cmd_test();
|
|
void cmd_help();
|
|
void send_nack();
|
|
void send_ack();
|
|
void send(byte data);
|
|
void status_led_on();
|
|
void status_led_off();
|
|
void status_led_toggle();
|
|
|
|
void setup();
|
|
void loop();
|
|
|
|
void set_blink(uint8_t mode);
|
|
void blink();
|
|
|
|
uint8_t receive_byte();
|
|
uint16_t receive_word();
|
|
CRGB receive_color();
|