I am currently using the DMXSerial library, version 1.5.3, with an Arduino Uno R3 to use DMXSerial.init(DMXReceiver) and DMXSerial.read in the setup() function where I try to write an incoming DMX packet , the first 45 channels, to a byte array IChannel[k]. I then execute DMXSerial.init(DMXController) and DMXSerial.write as the last step in setup(). In the loop() function I try to augment 4 of the 45 channels in IChannel[k] through A0 and A1 with a potentiometric joystick. The joystick adjustment passes through to TX (D1), but not the originalDMXSerial.write input from the setup() function. I am reading both inputs and outputs with PicoScope 2206B MSO oscilloscope. If I load IChannel[k], as shown in the attached file, the loaded array elements show up in the output, along with any joystick adjustments. Why can I not load an array with DMXSerial.write and subsequently get it out from TX with DMXSerial.read. I can make a schematic of the circuitry used if anyone is interested
Manual_Spotlight_Control_2.txt
I am currently using the DMXSerial library, version 1.5.3, with an Arduino Uno R3 to use DMXSerial.init(DMXReceiver) and DMXSerial.read in the setup() function where I try to write an incoming DMX packet , the first 45 channels, to a byte array IChannel[k]. I then execute DMXSerial.init(DMXController) and DMXSerial.write as the last step in setup(). In the loop() function I try to augment 4 of the 45 channels in IChannel[k] through A0 and A1 with a potentiometric joystick. The joystick adjustment passes through to TX (D1), but not the originalDMXSerial.write input from the setup() function. I am reading both inputs and outputs with PicoScope 2206B MSO oscilloscope. If I load IChannel[k], as shown in the attached file, the loaded array elements show up in the output, along with any joystick adjustments. Why can I not load an array with DMXSerial.write and subsequently get it out from TX with DMXSerial.read. I can make a schematic of the circuitry used if anyone is interested Manual_Spotlight_Control_2.txt