Add logger to show what port used for dmx input

This commit is contained in:
Will Tatam
2023-03-30 15:21:40 +01:00
parent f34ba8f3fb
commit 63c31f1adf

View File

@@ -103,6 +103,7 @@ dmx_port_t dmxPort = 2;
void initDMX() {
/* Set the DMX hardware pins to the pins that we want to use. */
if(dmxReceivePin > 0) {
USER_PRINTF("Listening for DMX on pin %u\n", dmxReceivePin);
dmx_set_pin(dmxPort, dmxTransmitPin, dmxReceivePin, dmxEnablePin);
}
else {