aboutsummaryrefslogtreecommitdiff
path: root/comport/comport-help.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-05-21 13:35:20 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-05-21 13:35:20 +0000
commitdf122aae6a5e6f6c3d2b8a5db1a4d85111d7b8ef (patch)
tree8f4541fa6e1cd47f3847d4b86e51f7348aa8520e /comport/comport-help.pd
parentc022f3ec0873f8c2cd91e26e1a965d92ed427383 (diff)
added serial port device name globbing for UNIX; added Piotr Majdak's Win32 improvements, they compile, but aren't tested yet; still need to update [devicename( message handling
svn path=/trunk/externals/iem/comport/; revision=5102
Diffstat (limited to 'comport/comport-help.pd')
-rw-r--r--comport/comport-help.pd111
1 files changed, 53 insertions, 58 deletions
diff --git a/comport/comport-help.pd b/comport/comport-help.pd
index 0dbfcf2..d09ec1d 100644
--- a/comport/comport-help.pd
+++ b/comport/comport-help.pd
@@ -1,8 +1,7 @@
-#N canvas 199 244 693 475 10;
+#N canvas 199 244 697 479 10;
#X obj 97 231 comport 1 9600;
#X msg 13 213 66;
#X obj 88 361 print;
-#X floatatom 195 190 4 0 0 0 - - -;
#X msg 12 171 64;
#X text 12 191 point;
#X text 11 150 stream;
@@ -16,66 +15,62 @@
#X obj 90 325 spigot;
#X msg 109 298 1;
#X msg 143 299 0;
-#X msg 314 48 bits 8;
-#X msg 313 72 stopbit 0;
-#X msg 312 100 parity 0;
-#X msg 313 129 xonxoff 1;
-#X msg 313 155 rtscts 0;
-#X text 392 103 parity 1=even \, -1=odd \, 0=off;
-#X text 392 74 extra stopbit 1=on \, 0=off;
-#X text 394 49 databits 5 \, 6 \, 7 \, 8;
-#X text 393 20 use exact or higher baudrate;
-#X obj 94 200 r comctl;
-#X obj 271 294 s comctl;
-#X text 394 128 use handshake xon/off 1=on 0=off;
-#X text 392 154 cts/rts hardwarehandshake 1=on 0=off;
-#X msg 318 201 pollintervall 1;
-#X text 430 191 set pollintervall for read in ms;
-#X text 430 205 (default is 1 tick 1ms);
-#X msg 317 233 close;
-#X msg 317 259 open 1;
-#X msg 314 23 baud 10000;
-#X text 383 230 Close Serial port;
-#X text 381 263 Open seriel board Nr (0=COM1 \, 1=COM2 \, ...);
-#X msg 263 354 devicename /dev/ttyS1;
-#X text 257 375 Danger !!! you can open every file in your system and
+#X msg 313 60 bits 8;
+#X msg 312 84 stopbit 0;
+#X msg 311 112 parity 0;
+#X msg 312 141 xonxoff 1;
+#X msg 312 167 rtscts 0;
+#X text 391 115 parity 1=even \, -1=odd \, 0=off;
+#X text 391 86 extra stopbit 1=on \, 0=off;
+#X text 393 61 databits 5 \, 6 \, 7 \, 8;
+#X text 392 32 use exact or higher baudrate;
+#X obj 115 196 r comctl;
+#X obj 219 389 s comctl;
+#X text 393 140 use handshake xon/off 1=on 0=off;
+#X text 391 166 cts/rts hardwarehandshake 1=on 0=off;
+#X msg 317 213 pollintervall 1;
+#X text 429 203 set pollintervall for read in ms;
+#X text 429 217 (default is 1 tick 1ms);
+#X msg 316 245 close;
+#X msg 316 271 open 1;
+#X msg 313 35 baud 10000;
+#X text 382 242 Close Serial port;
+#X msg 310 311 devicename /dev/ttyS1;
+#X text 256 411 Danger !!! you can open every file in your system and
maybe if suid is root damage the system.;
-#X text 258 336 set devicename for actuell port \, then close and open
-again;
-#X obj 195 165 spigot;
-#X msg 214 138 1;
-#X msg 247 143 0;
-#X obj 190 112 key;
-#X text 260 324 never should be needed except for sys admins (only
-unix);
-#X msg 309 0 baud 300;
+#X msg 308 12 baud 300;
#X text 3 -10 (C) 1998-2005 IEM Winfried Ritsch GPL (see LICENSE.txt)
;
-#X text 14 388;
-#X text 1 41 please improve...;
+#X text 14 388 comment;
+#X obj 84 135 clip 0 255;
+#X obj 87 89 hsl 128 15 0 255 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 11300 1;
+#X floatatom 111 116 5 0 0 0 - - -;
+#X text 14 69 you can send bytes directly (0-255):;
+#X text 379 271 Open serial port by number;
+#X text 466 307 open the serial port by name;
+#X connect 0 0 12 0;
#X connect 0 0 13 0;
-#X connect 0 0 14 0;
#X connect 1 0 0 0;
#X connect 3 0 0 0;
-#X connect 4 0 0 0;
-#X connect 7 0 0 0;
+#X connect 6 0 0 0;
+#X connect 8 0 0 0;
#X connect 9 0 0 0;
-#X connect 10 0 0 0;
-#X connect 14 0 2 0;
-#X connect 15 0 14 1;
-#X connect 16 0 14 1;
-#X connect 17 0 27 0;
-#X connect 18 0 27 0;
-#X connect 19 0 27 0;
-#X connect 20 0 27 0;
-#X connect 21 0 27 0;
-#X connect 26 0 0 0;
-#X connect 30 0 27 0;
-#X connect 33 0 27 0;
-#X connect 34 0 27 0;
-#X connect 35 0 27 0;
-#X connect 41 0 3 0;
-#X connect 42 0 41 1;
-#X connect 43 0 41 1;
-#X connect 44 0 41 0;
-#X connect 46 0 27 0;
+#X connect 13 0 2 0;
+#X connect 14 0 13 1;
+#X connect 15 0 13 1;
+#X connect 16 0 26 0;
+#X connect 17 0 26 0;
+#X connect 18 0 26 0;
+#X connect 19 0 26 0;
+#X connect 20 0 26 0;
+#X connect 25 0 0 0;
+#X connect 29 0 26 0;
+#X connect 32 0 26 0;
+#X connect 33 0 26 0;
+#X connect 34 0 26 0;
+#X connect 36 0 26 0;
+#X connect 38 0 26 0;
+#X connect 41 0 0 0;
+#X connect 42 0 43 0;
+#X connect 42 0 41 0;