  */
 uint8_t rx_polarity = RX_SIGNAL_NORMAL; // or RX_SIGNAL_INVERTED
 
+/* RDM requires that the direction of the RS-485 transceiver
+ * is switched between tx and rx.  On a MAX485, the transmit
+ * enable and inverted receive enable pins are tied together
+ * and connected to the direction pin.
+ */
+#define DIRECTION_PIN 3
+
+//***************** sketch variables
+
 uint8_t testLevel = 0;
 uint8_t loopDivider = 0;
 uint8_t identifyFlag = 1;

    @section  HISTORY

    v1.00 - First release
*/
/**************************************************************************/


    @file     rdmTest.ino
    @author   Claude Heintz
    @license  BSD (see LXTeensy3DMX LICENSE)
    @copyright 2017-2020 by Claude Heintz

        Test of LXTeensy3DMX RDM functions
        Changes output level of some DMX Addresses while building RDM
