From 5178cfcb0d73b20611bf6a9f75f583238700db23 Mon Sep 17 00:00:00 2001 From: Antoine Rousseau <_antoine_@metalu.net> Date: Fri, 27 Sep 2024 18:29:01 +0200 Subject: [PATCH] mention the necessity to set DTR for some USB devices in the help patch --- comport-help.pd | 60 ++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/comport-help.pd b/comport-help.pd index 0098b56..543094b 100644 --- a/comport-help.pd +++ b/comport-help.pd @@ -9,14 +9,14 @@ #X msg 584 218 parity 0; #X text 642 217 parity 1=even \, -1=odd \, 0=off; #X text 633 105 databits 5 \, 6 \, 7 \, 8; -#X obj 584 419 s comctl; +#X obj 584 428 s comctl; #X text 654 255 use handshake xon/off 1=on 0=off, f 22; #X text 647 299 cts/rts hardwarehandshake 1=on 0=off, f 25; #X obj 854 95 hsl 128 15 0 255 0 0 empty empty empty -2 -6 0 8 #fcfcfc #000000 #000000 0 1; #X msg 584 351 dtr \$1; #X obj 595 330 tgl 15 0 empty empty empty 0 -6 0 8 #e8e828 #f430f0 #000000 0 1; -#X obj 597 375 tgl 15 0 empty empty empty 0 -6 0 8 #e8e828 #fc0400 #000000 0 1; -#X msg 584 394 rts \$1; +#X obj 596 384 tgl 15 0 empty empty empty 0 -6 0 8 #e8e828 #fc0400 #000000 0 1; +#X msg 584 403 rts \$1; #X msg 23 182 help; #X msg 23 152 info; #X msg 23 90 devices; @@ -183,8 +183,7 @@ #X msg 254 333 inputprocess \$1; #X text 353 204 set poll interval for read in ms (default is 10ms), f 32; #X text 311 240 hang up connection on last close (not on Windows), f 33; -#X text 631 392 set RTS; -#X text 633 350 set DTR; +#X text 631 401 set RTS; #X text 640 81 set baud rate; #N canvas 205 37 541 333 creation_arguments 0; #X text 19 26 creation arguments:; @@ -227,10 +226,11 @@ #X obj 985 556 print other; #X obj 886 532 route ports, f 17; #X text 517 515 flow control; +#X text 630 332 set DTR. WARNING: for some USB devices \, it can be necessary to set DTR before you can receive data., f 32; #X connect 5 0 10 0; #X connect 6 0 10 0; #X connect 7 0 10 0; -#X connect 13 0 84 0; +#X connect 13 0 83 0; #X connect 14 0 10 0; #X connect 15 0 14 0; #X connect 16 0 17 0; @@ -271,27 +271,27 @@ #X connect 73 0 65 0; #X connect 75 0 76 0; #X connect 76 0 65 0; -#X connect 84 0 21 0; -#X connect 88 0 91 0; -#X connect 88 1 106 0; -#X connect 89 0 88 0; -#X connect 91 0 90 0; -#X connect 92 0 91 1; -#X connect 95 0 93 0; -#X connect 95 1 94 0; -#X connect 95 2 100 0; -#X connect 100 0 96 0; -#X connect 100 1 97 0; -#X connect 100 2 98 0; -#X connect 100 3 111 0; -#X connect 106 0 101 0; -#X connect 106 1 102 0; -#X connect 106 2 103 0; -#X connect 106 3 104 0; -#X connect 106 4 105 0; -#X connect 106 5 95 0; -#X connect 111 0 108 0; -#X connect 111 1 109 0; -#X connect 111 2 114 0; -#X connect 114 0 112 0; -#X connect 114 1 113 0; +#X connect 83 0 21 0; +#X connect 87 0 90 0; +#X connect 87 1 105 0; +#X connect 88 0 87 0; +#X connect 90 0 89 0; +#X connect 91 0 90 1; +#X connect 94 0 92 0; +#X connect 94 1 93 0; +#X connect 94 2 99 0; +#X connect 99 0 95 0; +#X connect 99 1 96 0; +#X connect 99 2 97 0; +#X connect 99 3 110 0; +#X connect 105 0 100 0; +#X connect 105 1 101 0; +#X connect 105 2 102 0; +#X connect 105 3 103 0; +#X connect 105 4 104 0; +#X connect 105 5 94 0; +#X connect 110 0 107 0; +#X connect 110 1 108 0; +#X connect 110 2 113 0; +#X connect 113 0 111 0; +#X connect 113 1 112 0;