#N canvas 479 290 701 483 10; #X obj 97 231 comport 1 9600; #X msg 13 213 66; #X obj 88 361 print; #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 101 260 4 0 0 0 - - -; #X obj 90 325 spigot; #X msg 109 298 1; #X msg 143 299 0; #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 198 416 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 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 msg 308 12 baud 300; #X text 3 -10 (C) 1998-2005 IEM Winfried Ritsch GPL (see LICENSE.txt) ; #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 0 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 msg 312 352 dtr \$1; #X obj 292 352 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 291 387 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X msg 311 387 rts \$1; #X text 361 351 dtr output; #X text 360 387 rts output; #X msg 180 350 help; #X floatatom 129 260 5 0 0 3 device - -; #X floatatom 167 260 5 0 0 3 dsr - -; #X floatatom 201 260 5 0 0 3 cts - -; #X msg 460 386 verbose \$1; #X obj 460 367 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X text 429 203 set poll interval for read in ms; #X connect 0 0 12 0; #X connect 0 0 13 0; #X connect 0 1 52 0; #X connect 0 2 53 0; #X connect 0 3 54 0; #X connect 1 0 0 0; #X connect 3 0 0 0; #X connect 6 0 0 0; #X connect 8 0 0 0; #X connect 9 0 0 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 31 0 26 0; #X connect 32 0 26 0; #X connect 33 0 26 0; #X connect 35 0 26 0; #X connect 37 0 26 0; #X connect 39 0 0 0; #X connect 40 0 41 0; #X connect 40 0 39 0; #X connect 45 0 26 0; #X connect 46 0 45 0; #X connect 47 0 48 0; #X connect 48 0 26 0; #X connect 51 0 26 0; #X connect 55 0 26 0; #X connect 56 0 55 0;