From f467f395ebda720ece4debd60d3531586fa432be Mon Sep 17 00:00:00 2001 From: Thomas O Fredericks Date: Fri, 18 Dec 2009 14:31:51 +0000 Subject: Added DMXUSBPro to hardware svn path=/trunk/externals/hardware/; revision=12838 --- DMXUSBPro/DMXUSBPro-help.pd | 24 ++++++++++++++++++++++++ DMXUSBPro/DMXUSBPro.pd | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 DMXUSBPro/DMXUSBPro-help.pd create mode 100644 DMXUSBPro/DMXUSBPro.pd (limited to 'DMXUSBPro') diff --git a/DMXUSBPro/DMXUSBPro-help.pd b/DMXUSBPro/DMXUSBPro-help.pd new file mode 100644 index 0000000..0b5e022 --- /dev/null +++ b/DMXUSBPro/DMXUSBPro-help.pd @@ -0,0 +1,24 @@ +#N canvas 1083 45 723 488 10; +#X obj -186 358 DMXUSBPro; +#X msg -185 176 devices; +#X msg -146 198 devicename /dev/ttyUSB0; +#X text -200 77 tags: hardware; +#X text -200 100 contact/bugs/comments: mrtoftrash@gmail.com; +#X text -201 43 description: DMXUSBPro is an abstraction for the control +of the DMX USB Pro by Enttec.; +#X msg -40 310 132 543 237 174; +#X text 67 308 Sending a list will output that DMX value to the channel +matching the position of the element in the list. So the first element +is mapped to channel 1 \, the second to channel 2 and son on.; +#X msg -102 233 close; +#X msg -81 254 open 1; +#X text -63 232 Close Serial port; +#X text -34 253 Open serial port by number; +#X text 6 197 open the serial port by name; +#X text -129 173 print available devices (wait for it...); +#X text -191 131 For now \, only DMX output is supported.; +#X connect 1 0 0 0; +#X connect 2 0 0 0; +#X connect 6 0 0 0; +#X connect 8 0 0 0; +#X connect 9 0 0 0; diff --git a/DMXUSBPro/DMXUSBPro.pd b/DMXUSBPro/DMXUSBPro.pd new file mode 100644 index 0000000..9076dd8 --- /dev/null +++ b/DMXUSBPro/DMXUSBPro.pd @@ -0,0 +1,24 @@ +#N canvas 230 295 640 380 10; +#X obj 33 12 inlet; +#X obj 37 39 route list; +#X obj 38 128 t a a; +#X obj 65 151 zexy/length; +#X obj 38 207 list prepend; +#X obj 38 237 list append 231; +#X obj 37 98 list prepend 0; +#X msg 65 175 126 6 \$1 0; +#X obj 266 295 flatspace/comport; +#X obj 420 189 loadbang; +#X msg 420 217 baud 115200; +#X connect 0 0 1 0; +#X connect 1 0 6 0; +#X connect 1 1 8 0; +#X connect 2 0 4 0; +#X connect 2 1 3 0; +#X connect 3 0 7 0; +#X connect 4 0 5 0; +#X connect 5 0 8 0; +#X connect 6 0 2 0; +#X connect 7 0 4 1; +#X connect 9 0 10 0; +#X connect 10 0 8 0; -- cgit v1.2.1