Update of /cvsroot/pure-data/externals/hardware/arduino/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9106
Modified Files: PD_inputs_to_PD.pd PD_send_potentiometer.pd PD_two_potentiometers.pd Log Message: fixed serial port fixer to have more ports and to start at 0, like [comport]
Index: PD_inputs_to_PD.pd =================================================================== RCS file: /cvsroot/pure-data/externals/hardware/arduino/examples/PD_inputs_to_PD.pd,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PD_inputs_to_PD.pd 11 Mar 2006 02:04:52 -0000 1.3 --- PD_inputs_to_PD.pd 18 May 2006 20:22:59 -0000 1.4 *************** *** 1,3 **** ! #N canvas 1030 43 584 697 10; #X obj 480 668 import zexy; #X obj 21 78 nbx 4 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 14 --- 1,3 ---- ! #N canvas 429 31 592 705 10; #X obj 480 668 import zexy; #X obj 21 78 nbx 4 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 14 *************** *** 14,22 **** -241291 -1 -1 0 256; #X obj 21 132 nbx 6 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 14 ! -3754 -1 -1 0 256; #X obj 122 132 nbx 6 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 14 ! -3754 -1 -1 0 256; #X obj 223 132 nbx 6 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 14 ! -3754 -1 -1 0 256; #X text 160 241 On Mac OS X , set this to the right value:; #X msg 100 220 open $1; --- 14,22 ---- -241291 -1 -1 0 256; #X obj 21 132 nbx 6 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 14 ! -3754 -1 -1 403 256; #X obj 122 132 nbx 6 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 14 ! -3754 -1 -1 387 256; #X obj 223 132 nbx 6 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 14 ! -3754 -1 -1 410 256; #X text 160 241 On Mac OS X , set this to the right value:; #X msg 100 220 open $1; *************** *** 32,55 **** #X text 16 5 This patch works with the example Arduino firmware of the same name.; - #N canvas 162 133 526 376 serin 0; - #X obj 120 61 cnv 15 15 15 empty $0-number-canvas 1 4 7 0 14 -233017 - -1 0; - #X obj 200 225 s $0-number-canvas; - #X obj 60 61 hradio 15 1 0 4 empty empty empty 0 -6 0 8 -225271 -1 - -1 0; - #X obj 60 108 + 1; - #X obj 59 147 outlet; - #X obj 60 13 inlet; - #X msg 200 202 label $1; - #X obj 200 180 makefilename %d; - #X connect 2 0 3 0; - #X connect 3 0 4 0; - #X connect 3 0 7 0; - #X connect 5 0 2 0; - #X connect 6 0 1 0; - #X connect 7 0 6 0; - #X coords 0 -1 1 1 76 17 1 60 60; - #X restore 100 197 pd serin; - #X text 181 198 serial port #; #X msg 164 259 devicename /dev/tty.usbserial-191; #X obj 265 551 +; --- 32,35 ---- *************** *** 91,127 **** #X text 67 660 (C) Copyright 2006 Hans-Christoph Steiner hans@at.or.at ; #X connect 11 0 12 0; #X connect 12 0 19 0; #X connect 18 0 12 0; ! #X connect 19 1 35 0; ! #X connect 21 0 11 0; ! #X connect 23 0 12 0; ! #X connect 24 0 25 1; ! #X connect 24 0 29 0; ! #X connect 25 0 33 1; ! #X connect 26 0 24 0; ! #X connect 26 1 27 0; ! #X connect 27 0 28 0; ! #X connect 28 0 24 1; ! #X connect 29 0 27 1; ! #X connect 30 0 27 1; ! #X connect 32 0 33 0; ! #X connect 33 0 34 0; ! #X connect 35 0 45 0; ! #X connect 35 1 47 0; ! #X connect 36 0 7 0; ! #X connect 37 0 8 0; ! #X connect 38 0 9 0; ! #X connect 39 0 2 0; ! #X connect 40 0 1 0; ! #X connect 41 0 3 0; ! #X connect 42 0 4 0; ! #X connect 43 0 5 0; ! #X connect 44 0 6 0; ! #X connect 45 0 46 0; ! #X connect 46 0 26 0; ! #X connect 47 0 48 1; ! #X connect 47 1 48 0; ! #X connect 47 2 30 0; ! #X connect 47 2 25 0; ! #X connect 48 0 32 0; --- 71,127 ---- #X text 67 660 (C) Copyright 2006 Hans-Christoph Steiner hans@at.or.at ; + #N canvas 162 133 562 412 serin 0; + #X obj 220 101 cnv 13 14 13 empty $0-number-canvas 1 4 7 0 14 -233017 + -1 0; + #X obj 241 251 s $0-number-canvas; + #X obj 100 100 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -225271 -1 + -1 1; + #X obj 100 173 outlet; + #X obj 101 39 inlet; + #X msg 241 228 label $1; + #X obj 241 206 makefilename %d; + #X obj 101 134 float; + #X connect 2 0 7 0; + #X connect 4 0 2 0; + #X connect 5 0 1 0; + #X connect 6 0 5 0; + #X connect 7 0 3 0; + #X connect 7 0 6 0; + #X coords 0 -1 1 1 136 15 1 100 100; + #X restore 100 198 pd serin; + #X text 240 199 serial port #; #X connect 11 0 12 0; #X connect 12 0 19 0; #X connect 18 0 12 0; ! #X connect 19 1 33 0; ! #X connect 21 0 12 0; ! #X connect 22 0 23 1; ! #X connect 22 0 27 0; ! #X connect 23 0 31 1; ! #X connect 24 0 22 0; ! #X connect 24 1 25 0; ! #X connect 25 0 26 0; ! #X connect 26 0 22 1; ! #X connect 27 0 25 1; ! #X connect 28 0 25 1; ! #X connect 30 0 31 0; ! #X connect 31 0 32 0; ! #X connect 33 0 43 0; ! #X connect 33 1 45 0; ! #X connect 34 0 7 0; ! #X connect 35 0 8 0; ! #X connect 36 0 9 0; ! #X connect 37 0 2 0; ! #X connect 38 0 1 0; ! #X connect 39 0 3 0; ! #X connect 40 0 4 0; ! #X connect 41 0 5 0; ! #X connect 42 0 6 0; ! #X connect 43 0 44 0; ! #X connect 44 0 24 0; ! #X connect 45 0 46 1; ! #X connect 45 1 46 0; ! #X connect 45 2 28 0; ! #X connect 45 2 23 0; ! #X connect 46 0 30 0; ! #X connect 58 0 11 0;
Index: PD_send_potentiometer.pd =================================================================== RCS file: /cvsroot/pure-data/externals/hardware/arduino/examples/PD_send_potentiometer.pd,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PD_send_potentiometer.pd 11 Mar 2006 02:04:52 -0000 1.3 --- PD_send_potentiometer.pd 18 May 2006 20:22:59 -0000 1.4 *************** *** 1,3 **** ! #N canvas 66 362 502 362 10; #X text 151 136 On Mac OS X , set this to the right value:; #X obj 101 196 comport 1 9600; --- 1,3 ---- ! #N canvas 625 217 510 370 10; #X text 151 136 On Mac OS X , set this to the right value:; #X obj 101 196 comport 1 9600; *************** *** 7,32 **** #X msg 155 153 devicename /dev/tty.usbserial-191; #X obj 100 229 nbx 6 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 14 ! -3754 -1 -1 0 256; ! #N canvas 162 133 518 368 serin 0; ! #X obj 160 101 cnv 15 15 15 empty $0-number-canvas 1 4 7 0 14 -233017 ! -1 0; ! #X obj 241 251 s $0-number-canvas; ! #X obj 100 101 hradio 15 1 0 4 empty empty empty 0 -6 0 8 -225271 -1 ! -1 0; ! #X obj 101 134 + 1; ! #X obj 100 173 outlet; ! #X obj 101 39 inlet; ! #X msg 241 228 label $1; ! #X obj 241 206 makefilename %d; ! #X connect 2 0 3 0; ! #X connect 3 0 4 0; ! #X connect 3 0 7 0; ! #X connect 5 0 2 0; ! #X connect 6 0 1 0; ! #X connect 7 0 6 0; ! #X coords 0 -1 1 1 76 17 1 100 100; ! #X restore 101 75 pd serin; #X msg 101 100 open $1; - #X text 182 76 serial port #; #X text 28 -6 This patch works with the example Arduino firmware of the same name.; --- 7,12 ---- #X msg 155 153 devicename /dev/tty.usbserial-191; #X obj 100 229 nbx 6 16 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 14 ! -3754 -1 -1 10 256; #X msg 101 100 open $1; #X text 28 -6 This patch works with the example Arduino firmware of the same name.; *************** *** 38,44 **** #X text 33 323 (C) Copyright 2006 Hans-Christoph Steiner hans@at.or.at ; #X connect 1 0 5 0; #X connect 3 0 1 0; #X connect 4 0 1 0; ! #X connect 6 0 7 0; ! #X connect 7 0 1 0; --- 18,44 ---- #X text 33 323 (C) Copyright 2006 Hans-Christoph Steiner hans@at.or.at ; + #N canvas 162 133 562 412 serin 0; + #X obj 220 101 cnv 13 14 13 empty $0-number-canvas 0 4 7 0 14 -233017 + -1 0; + #X obj 241 251 s $0-number-canvas; + #X obj 100 100 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -225271 -1 + -1 0; + #X obj 100 173 outlet; + #X obj 101 39 inlet; + #X msg 241 228 label $1; + #X obj 241 206 makefilename %d; + #X obj 101 134 float; + #X connect 2 0 7 0; + #X connect 4 0 2 0; + #X connect 5 0 1 0; + #X connect 6 0 5 0; + #X connect 7 0 3 0; + #X connect 7 0 6 0; + #X coords 0 -1 1 1 136 15 1 100 100; + #X restore 101 78 pd serin; + #X text 241 79 serial port #; #X connect 1 0 5 0; #X connect 3 0 1 0; #X connect 4 0 1 0; ! #X connect 6 0 1 0; ! #X connect 11 0 6 0;
Index: PD_two_potentiometers.pd =================================================================== RCS file: /cvsroot/pure-data/externals/hardware/arduino/examples/PD_two_potentiometers.pd,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PD_two_potentiometers.pd 11 Mar 2006 02:04:52 -0000 1.2 --- PD_two_potentiometers.pd 18 May 2006 20:22:59 -0000 1.3 *************** *** 1,3 **** ! #N canvas 1102 74 533 633 10; #X obj 431 598 import zexy; #X text 127 139 On Mac OS X , set this to the right value:; --- 1,3 ---- ! #N canvas 747 74 537 637 10; #X obj 431 598 import zexy; #X text 127 139 On Mac OS X , set this to the right value:; *************** *** 8,33 **** #X msg 131 156 devicename /dev/tty.usbserial-191; #X obj 110 496 nbx 4 20 -1e+37 1e+37 0 0 empty empty Analog_in_0 -15 ! 30 1 14 -3754 -1 -1 0 256; ! #N canvas 162 133 518 368 serin 0; ! #X obj 160 101 cnv 15 15 15 empty $0-number-canvas 1 4 7 0 14 -233017 -1 0; #X obj 241 251 s $0-number-canvas; ! #X obj 100 101 hradio 15 1 0 4 empty empty empty 0 -6 0 8 -225271 -1 -1 0; - #X obj 101 134 + 1; #X obj 100 173 outlet; #X obj 101 39 inlet; #X msg 241 228 label $1; #X obj 241 206 makefilename %d; ! #X connect 2 0 3 0; ! #X connect 3 0 4 0; ! #X connect 3 0 7 0; ! #X connect 5 0 2 0; ! #X connect 6 0 1 0; #X connect 7 0 6 0; ! #X coords 0 -1 1 1 76 17 1 100 100; #X restore 77 78 pd serin; #X msg 77 103 open $1; ! #X text 158 79 serial port #; #X text 4 -3 This patch works with the example Arduino firmware of the same name.; --- 8,33 ---- #X msg 131 156 devicename /dev/tty.usbserial-191; #X obj 110 496 nbx 4 20 -1e+37 1e+37 0 0 empty empty Analog_in_0 -15 ! 30 1 14 -3754 -1 -1 406 256; ! #N canvas 162 133 562 412 serin 0; ! #X obj 220 101 cnv 13 14 13 empty $0-number-canvas 0 4 7 0 14 -233017 -1 0; #X obj 241 251 s $0-number-canvas; ! #X obj 100 100 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -225271 -1 -1 0; #X obj 100 173 outlet; #X obj 101 39 inlet; #X msg 241 228 label $1; #X obj 241 206 makefilename %d; ! #X obj 101 134 float; ! #X connect 2 0 7 0; ! #X connect 4 0 2 0; ! #X connect 5 0 1 0; ! #X connect 6 0 5 0; ! #X connect 7 0 3 0; #X connect 7 0 6 0; ! #X coords 0 -1 1 1 136 15 1 100 100; #X restore 77 78 pd serin; #X msg 77 103 open $1; ! #X text 217 79 serial port #; #X text 4 -3 This patch works with the example Arduino firmware of the same name.; *************** *** 54,58 **** #X obj 156 267 select B A; #X obj 209 495 nbx 4 20 -1e+37 1e+37 0 0 empty empty Analog_in_1 -15 ! 30 1 14 -3754 -1 -1 0 256; #X text 227 606 released under the GNU GPL; #X text 13 591 (C) Copyright 2006 Hans-Christoph Steiner hans@at.or.at --- 54,58 ---- #X obj 156 267 select B A; #X obj 209 495 nbx 4 20 -1e+37 1e+37 0 0 empty empty Analog_in_1 -15 ! 30 1 14 -3754 -1 -1 3.70039e+18 256; #X text 227 606 released under the GNU GPL; #X text 13 591 (C) Copyright 2006 Hans-Christoph Steiner hans@at.or.at