Difference between revisions of "Component: DMX 512 Master (Comms: System)"
From Flowcode Help
Jump to navigationJump to searchLine 16: | Line 16: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
''No detailed description exists yet for this component'' | ''No detailed description exists yet for this component'' | ||
+ | |||
+ | |||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 31: | Line 37: | ||
{{Fcfile|DMX_Slave_Example1.fcfx|DMX Slave Example1}} | {{Fcfile|DMX_Slave_Example1.fcfx|DMX Slave Example1}} | ||
+ | |||
+ | |||
Revision as of 15:07, 31 August 2021
Author | MatrixTSL |
Version | 2.0 |
Category | Comms: System |
Contents
DMX-512 Master component
A serial based communications protocol designed for controlling theatrical equipment such as dimmers, fog machines and intelligent lights. DMX-512 Slave devices are daisy chained together with a final 180R terminating resistor at the end of the chail. DMX requires the signal to be level shifted from VCC and GND to +2.5V and -2.5V.
Detailed description
No detailed description exists yet for this component
Examples
DMX Master Example, reads the value of two ports using switch arrays to set the values and then transmits the data in a DMX packet.
DMX Slave Example, captures the first DMX data channel sent from the Master and outputs the value onto a Port using the LED array component.
Downloadable macro reference
![]() |
SetDataChannel |
Sets the data byte in a data channel | |
![]() |
Channel |
![]() |
DataValue |
![]() |
Return |
![]() |
SendDataChain |
Transmits the BREAK, MAB and StartCode followed by the contents of the data channels. | |
![]() |
StartCode |
![]() |
Return |
![]() |
Initialise |
Configures the UART serial interface. | |
![]() |
Return |
![]() |
StringReceive |
Checks for a response string. Returns the length of the response string if one is present otherwise returns 0. | |
![]() |
Return |
![]() |
Send_byte |
![]() |
ByteVal |
![]() |
Return |
![]() |
Initialise |
Required to be used whenever the Bluetooth component is used in a program. Initialises the Bluetooth component ready for use. | |
![]() |
Return |