Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DMXSerial.init(DMXReceiver) mode followed by DMXSerial.init(DMXController) mode in the same Arduino Uno R3 file #71

Open
ChetNocatee opened this issue Jan 19, 2023 · 1 comment

Comments

@ChetNocatee
Copy link

No description provided.

@ChetNocatee ChetNocatee changed the title DMXSerial.init(DMXReceiver) mode followed by DMXSerial.init( DMXSerial.init(DMXReceiver) mode followed by DMXSerial.init(DMXController) mode in the same Arduino Uno R3 file Jan 19, 2023
@ChetNocatee
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant