November 28, 2024, 05:34:22 AM

News:

You can now use Vixen to program your Prop-1 and Prop-2 controllers!  Get started quickly and easily, without having to learn PBASIC.  Details in the Library forum.


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