Bot test
From Flowcode Help
Jump to navigationJump to searchAuthor | MatrixTSL |
Version | 2.0 |
Category | Comms: System |
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.
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 |