aboutsummaryrefslogtreecommitdiff
path: root/comport/testcomport.pd
blob: 0dbfcf222932e31a2e27f1323a9c9e5f9df9f55d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
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;