Cleanup
This commit is contained in:
@@ -95,12 +95,16 @@ void handleDMX() {}
|
||||
|
||||
|
||||
#ifdef WLED_ENABLE_DMX_INPUT
|
||||
|
||||
#include <esp_dmx.h>
|
||||
|
||||
|
||||
dmx_port_t dmxPort = 2;
|
||||
void initDMX() {
|
||||
/* Set the DMX hardware pins to the pins that we want to use. */
|
||||
int dmxTransmitPin = 2;
|
||||
int dmxReceivePin = 27;
|
||||
int dmxEnablePin = -1;
|
||||
int dmxEnablePin = 26;
|
||||
dmx_set_pin(dmxPort, dmxTransmitPin, dmxReceivePin, dmxEnablePin);
|
||||
|
||||
/* Now we can install the DMX driver! We'll tell it which DMX port to use and
|
||||
|
||||
Reference in New Issue
Block a user