aboutsummaryrefslogtreecommitdiff
path: root/examples/lpt.pd
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2004-07-21 16:08:50 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2004-07-21 16:08:50 +0000
commitcb55a7e77b61753c186dd7eaa635d3b98f9062d2 (patch)
tree90119fb1c71eb872c60b41710047df38bd8bbfd5 /examples/lpt.pd
parent8c7a824a5b889989030bcaa0bec8e5a31dc2834d (diff)
renamed [lp] to [lpt] (to avoid name-clashes with "lowpass")
svn path=/trunk/externals/zexy/; revision=1877
Diffstat (limited to 'examples/lpt.pd')
-rw-r--r--examples/lpt.pd20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/lpt.pd b/examples/lpt.pd
new file mode 100644
index 0000000..2a317b7
--- /dev/null
+++ b/examples/lpt.pd
@@ -0,0 +1,20 @@
+#N canvas 173 205 772 508 10;
+#X obj 90 33 lp;
+#X text 129 36 write data to the (parallel) port;
+#X text 82 70 this is LINUX ONLY !!!;
+#X text 17 125 note:;
+#X text 59 126 you might have to be root to get write-permissions on your specified port.;
+#X text 59 160 you can access all ports on your system when using "lp <hex-port-address>";
+#X text 59 194 if your port-address exceeds 0x3ff \, "lp" will try to get all permissions with the iopl()-command. this might be dangerous !;
+#X obj 81 411 lp 0;
+#X obj 110 411 lp 1;
+#X obj 139 411 lp 2;
+#X text 75 390 parallel ports 0 \, 1 \, 2;
+#X obj 294 415 lp 0x378;
+#X text 289 394 another port;
+#X obj 81 337 lp 1;
+#X obj 81 305 % 256;
+#X floatatom 81 283 4 0 0;
+#X text 122 284 write an 8bit-word;
+#X connect 14 0 13 0;
+#X connect 15 0 14 0;