aboutsummaryrefslogtreecommitdiff
path: root/control
diff options
context:
space:
mode:
Diffstat (limited to 'control')
-rw-r--r--control/serialctl-help.pd61
1 files changed, 61 insertions, 0 deletions
diff --git a/control/serialctl-help.pd b/control/serialctl-help.pd
new file mode 100644
index 0000000..3052604
--- /dev/null
+++ b/control/serialctl-help.pd
@@ -0,0 +1,61 @@
+#N canvas 91 60 907 514 10;
+#X msg 202 243 getlines;
+#X msg 201 169 setlines RTS 0;
+#X msg 201 187 setlines RTS 1;
+#X msg 24 213 start;
+#X msg 24 195 stop;
+#X msg 515 231 vtime 0 20;
+#X msg 515 212 setlocal 0;
+#X msg 515 193 setcontrol 0 CS8 CLOCAL CREAD;
+#X msg 201 224 setlines DTR 1;
+#X msg 201 206 setlines DTR 0;
+#X text 12 489 (C) 2000 Guenter Geiger;
+#X text 32 22 [serialctl] reads from a Unix serial device. There are several ways how serial devices can be setup \, and [serialctl] provides access to these serial device settings. This makes it possible to interpret the data stream from a serial device either within pd itself \, or via a specially written external for the device attached to the serial port (see serial_bird and serial_ms).;
+#X msg 516 431 79 \, 75 \, 13;
+#X msg 517 451 OK \, 13;
+#X text 201 138 setlines set the serial port;
+#X text 199 151 lines (only acces to RTS and DTR is provided;
+#X text 23 153 start/stop;
+#X text 23 165 reading characters;
+#X text 23 177 from the device;
+#X text 510 69 setinput \, setcontrol \, setlocal \, vtime provide access to the termios status bits of the serial device. This is lowlevel configuration and is sometimes necessary.;
+#X text 512 296 set the baudrate;
+#X msg 514 348 makeraw;
+#X text 513 330 configure the device as "raw";
+#X text 511 110 If a 0 is prepended to the flags \, the flags are reset before any bits are switched. All other commands set the corresponding bits to either 1 (e.g. CLOCAL) or 0 (!CLOCAL).;
+#X msg 516 250 listflags;
+#X msg 716 210 setinput list;
+#X text 511 151 the "list flag" lists all available flags.;
+#X text 514 412 data can be sent as symbols or as ASCII character code;
+#X msg 716 230 setcontrol list;
+#X msg 717 191 setlocal list;
+#X msg 514 175 setinput 0 IXOFF;
+#X floatatom 590 314;
+#X msg 513 313 speed \$1;
+#X obj 24 455 print;
+#X floatatom 62 243;
+#X msg 73 277 send c;
+#X obj 24 429 serialctl /dev/ttyS0;
+#X connect 0 0 36 0;
+#X connect 1 0 36 0;
+#X connect 2 0 36 0;
+#X connect 3 0 36 0;
+#X connect 4 0 36 0;
+#X connect 5 0 36 0;
+#X connect 6 0 36 0;
+#X connect 7 0 36 0;
+#X connect 8 0 36 0;
+#X connect 9 0 36 0;
+#X connect 12 0 36 0;
+#X connect 13 0 36 0;
+#X connect 21 0 36 0;
+#X connect 24 0 36 0;
+#X connect 25 0 36 0;
+#X connect 28 0 36 0;
+#X connect 29 0 36 0;
+#X connect 30 0 36 0;
+#X connect 31 0 32 0;
+#X connect 32 0 36 0;
+#X connect 34 0 36 0;
+#X connect 35 0 36 0;
+#X connect 36 0 33 0;