Updates
This commit is contained in:
@@ -13,7 +13,7 @@ extern "C" {
|
||||
#define LED_PIN 25
|
||||
#define RS485_DE_RE_PIN 6
|
||||
#define DMX_TX_PIN 4
|
||||
#define FIFO_SIZE 64
|
||||
#define FIFO_SIZE 512
|
||||
#define DMX_UNIVERSE_SIZE 512
|
||||
|
||||
typedef struct {
|
||||
@@ -72,6 +72,18 @@ void setup_hardware() {
|
||||
dmx_buffer[0x02] = 0x00;
|
||||
dmx_buffer[0x03] = 0x00;
|
||||
dmx_buffer[0x04] = 0x00;
|
||||
dmx_buffer[0x05] = 0x00;
|
||||
dmx_buffer[0x06] = 0x00;
|
||||
dmx_buffer[0x07] = 0x00;
|
||||
|
||||
dmx_buffer[0x08] = 0xFF;
|
||||
dmx_buffer[0x09] = 0x00;
|
||||
dmx_buffer[0x0A] = 0x00;
|
||||
dmx_buffer[0x0B] = 0x00;
|
||||
dmx_buffer[0x0C] = 0x00;
|
||||
dmx_buffer[0x0D] = 0x00;
|
||||
dmx_buffer[0x0E] = 0x00;
|
||||
|
||||
dmx_out.write(dmx_buffer, DMX_UNIVERSE_SIZE + 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user