#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 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 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 msg 308 12 baud 300; #X text 3 -10 (C) 1998-2005 IEM Winfried Ritsch GPL (see LICENSE.txt) ; #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 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 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;