From 75bc6b9064447c085c1a130b61af1aa857497b66 Mon Sep 17 00:00:00 2001 From: Winfried Ritsch Date: Wed, 13 Apr 2005 16:01:06 +0000 Subject: help patch renamed svn path=/trunk/externals/iem/comport/; revision=2759 --- comport/comport-help.pd | 81 +++++++++++++++++++++++++++++++++++++++++++++++++ comport/testcomport.pd | 81 ------------------------------------------------- 2 files changed, 81 insertions(+), 81 deletions(-) create mode 100644 comport/comport-help.pd delete mode 100644 comport/testcomport.pd (limited to 'comport') diff --git a/comport/comport-help.pd b/comport/comport-help.pd new file mode 100644 index 0000000..0dbfcf2 --- /dev/null +++ b/comport/comport-help.pd @@ -0,0 +1,81 @@ +#N canvas 199 244 693 475 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; +#X msg 13 263 86; +#X text 13 238 position; +#X msg 16 307 70; +#X msg 14 347 71; +#X text 15 290 run; +#X text 14 325 sleep; +#X floatatom 121 269 4 0 0 0 - - -; +#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 +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 text 3 -10 (C) 1998-2005 IEM Winfried Ritsch GPL (see LICENSE.txt) +; +#X text 14 388; +#X text 1 41 please improve...; +#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 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; diff --git a/comport/testcomport.pd b/comport/testcomport.pd deleted file mode 100644 index 0dbfcf2..0000000 --- a/comport/testcomport.pd +++ /dev/null @@ -1,81 +0,0 @@ -#N canvas 199 244 693 475 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; -#X msg 13 263 86; -#X text 13 238 position; -#X msg 16 307 70; -#X msg 14 347 71; -#X text 15 290 run; -#X text 14 325 sleep; -#X floatatom 121 269 4 0 0 0 - - -; -#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 -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 text 3 -10 (C) 1998-2005 IEM Winfried Ritsch GPL (see LICENSE.txt) -; -#X text 14 388; -#X text 1 41 please improve...; -#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 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; -- cgit v1.2.1