May 18, 2024, 03:21:26 AM

News:

Got VSA?  Want to use your Prop-SX?  Now you can!  See the VSA section of the Library forum for Prop-SX code that works with VSA.


Dmx Relay

Started by Laytonk, November 20, 2015, 08:33:42 AM

Previous topic - Next topic

Laytonk

Hello, I have a question about controlling a dmx relay from the HC-8+, so what i am looking to do is just turn the relay on when a input is activated. Dthe dmx address is 0 with three relays 0, 1, 2

Thanks

JonnyMac

DMX address 0 is not valid (byte 0 is the DMX start byte, typically $00) -- a valid address is in the range 1..512

I've attached a bit of code for the HC-8+ that will read the TTL inputs and copy those values (0 for off, 255 for on) to the DMX stream, starting with the address set on the DMX switch of the HC-8+.
Jon McPhalen
EFX-TEK Hollywood Office