aboutsummaryrefslogtreecommitdiff
path: root/DMXUSBPro
diff options
context:
space:
mode:
authorThomas O Fredericks <mrtof@users.sourceforge.net>2009-12-18 14:31:51 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:08:22 +0200
commitf467f395ebda720ece4debd60d3531586fa432be (patch)
treec75cbf5dec4948d626c91d74c425764e93019163 /DMXUSBPro
parent1b8caa4e9b59b4f8047a384851f8d71d55f713ec (diff)
Added DMXUSBPro to hardware
svn path=/trunk/externals/hardware/; revision=12838
Diffstat (limited to 'DMXUSBPro')
-rw-r--r--DMXUSBPro/DMXUSBPro-help.pd24
-rw-r--r--DMXUSBPro/DMXUSBPro.pd24
2 files changed, 48 insertions, 0 deletions
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;