Update of /cvsroot/pure-data/externals/hardware/arduino In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5417
Modified Files: arduino-test.pd Log Message: switched to default to output mode so that you don't see voltage float on disconnected pins; changed test patch init settings to reflect initial state of arduino
Index: arduino-test.pd =================================================================== RCS file: /cvsroot/pure-data/externals/hardware/arduino/arduino-test.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** arduino-test.pd 3 Sep 2006 22:38:40 -0000 1.1 --- arduino-test.pd 4 Sep 2006 07:44:29 -0000 1.2 *************** *** 1,3 **** ! #N canvas 264 99 695 570 10; #X msg 166 173 open 3; #N canvas 627 365 360 384 serin 0; --- 1,3 ---- ! #N canvas 124 74 691 566 10; #X msg 166 173 open 3; #N canvas 627 365 360 384 serin 0; *************** *** 30,43 **** #X restore 166 150 pd serin; #X text 163 132 serial port #; ! #X text 424 528 released under the GNU GPL; ! #X text 7 526 (C) Copyright 2006 Hans-Christoph Steiner hans@at.or.at ; #X msg 226 173 close; - #X obj 63 497 print --------------------; #X obj 434 321 tgl 15 0 empty empty changes 0 -6 0 8 -262144 -1 -1 0 1; #X obj 353 61 hradio 15 1 0 14 empty empty empty 0 -6 0 8 -262131 -1 ! -1 13; ! #X obj 330 62 tgl 15 0 empty empty empty 0 -6 0 8 -262131 -1 -1 0 1 ; #X obj 373 321 tgl 15 0 empty empty all 0 -6 0 8 -262144 -1 -1 0 1 --- 30,42 ---- #X restore 166 150 pd serin; #X text 163 132 serial port #; ! #X text 424 508 released under the GNU GPL; ! #X text 7 506 (C) Copyright 2006 Hans-Christoph Steiner hans@at.or.at ; #X msg 226 173 close; #X obj 434 321 tgl 15 0 empty empty changes 0 -6 0 8 -262144 -1 -1 0 1; #X obj 353 61 hradio 15 1 0 14 empty empty empty 0 -6 0 8 -262131 -1 ! -1 0; ! #X obj 330 62 tgl 15 0 empty empty empty 0 -6 0 8 -262131 -1 -1 1 1 ; #X obj 373 321 tgl 15 0 empty empty all 0 -6 0 8 -262144 -1 -1 0 1 *************** *** 117,124 **** #X connect 25 0 14 0; #X connect 26 0 15 0; ! #X restore 473 507 pd decode buttons; #X obj 93 89 hsl 150 17 0 1 0 0 empty empty PWM_control_(0-1) -2 -6 ! 1 10 -225271 -1 -1 1700 0; ! #X msg 64 472 bang; #X text 461 47 7; #X text 355 47 0; --- 116,122 ---- #X connect 25 0 14 0; #X connect 26 0 15 0; ! #X restore 471 486 pd decode buttons; #X obj 93 89 hsl 150 17 0 1 0 0 empty empty PWM_control_(0-1) -2 -6 ! 1 10 -225271 -1 -1 0 0; #X text 461 47 7; #X text 355 47 0; *************** *** 131,135 **** #X obj 435 422 route digital; #X obj 521 442 print GARBAGE; ! #X floatatom 430 507 6 0 0 0 - - -; #X text 329 127 how many analogIns to enable:; #X obj 330 188 tgl 15 1 empty empty empty 0 -6 0 8 -257472 -1 -1 1 --- 129,133 ---- #X obj 435 422 route digital; #X obj 521 442 print GARBAGE; ! #X floatatom 424 488 6 0 0 0 - - -; #X text 329 127 how many analogIns to enable:; #X obj 330 188 tgl 15 1 empty empty empty 0 -6 0 8 -257472 -1 -1 1 *************** *** 137,146 **** #X text 353 187 enable/disable digitalIns; #X msg 330 206 digitalIns $1; ! #X msg 330 164 analogIns 0; #N canvas 162 133 570 420 serin 0; ! #X obj 165 61 cnv 15 15 15 empty $0-analog-number-canvas 0 4 8 0 14 -233017 -1 0; #X obj 60 61 hradio 15 1 1 7 empty empty empty 0 -6 0 8 -225280 -1 ! -1 0; #X obj 60 13 inlet; #X msg 200 202 label $1; --- 135,144 ---- #X text 353 187 enable/disable digitalIns; #X msg 330 206 digitalIns $1; ! #X msg 330 164 analogIns 6; #N canvas 162 133 570 420 serin 0; ! #X obj 165 61 cnv 15 15 15 empty $0-analog-number-canvas 6 4 8 0 14 -233017 -1 0; #X obj 60 61 hradio 15 1 1 7 empty empty empty 0 -6 0 8 -225280 -1 ! -1 6; #X obj 60 13 inlet; #X msg 200 202 label $1; *************** *** 168,175 **** #X text 546 47 13; #X text 328 33 turn on output mode for each pin (off = input); - #X obj 367 481 spigot; - #X obj 400 463 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 - 1; - #X obj 367 502 print; #N canvas 0 22 269 256 speed 0; #X obj 21 41 inlet; --- 166,169 ---- *************** *** 251,255 **** #X text 444 47 6; #X text 400 47 3; ! #X msg 330 103 outputMode 13 0; #N canvas 304 39 554 377 sending 0; #X obj 167 325 outlet; --- 245,249 ---- #X text 444 47 6; #X text 400 47 3; ! #X msg 330 103 outputMode 0 1; #N canvas 304 39 554 377 sending 0; #X obj 167 325 outlet; *************** *** 273,277 **** #X obj 167 105 mapping/bytemask; #X obj 48 105 mapping/bytemask; ! #X obj 380 175 tgl 15 0 empty empty empty 0 -6 0 8 -225271 -1 -1 16383 16383; #X obj 380 138 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 --- 267,271 ---- #X obj 167 105 mapping/bytemask; #X obj 48 105 mapping/bytemask; ! #X obj 380 175 tgl 15 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 16383; #X obj 380 138 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 *************** *** 318,322 **** #X text 370 47 1; #X obj 35 61 hradio 15 1 0 14 empty empty empty 0 -6 0 8 -176124 -1 ! -1 5; #X text 143 47 7; #X text 37 47 0; --- 312,316 ---- #X text 370 47 1; #X obj 35 61 hradio 15 1 0 14 empty empty empty 0 -6 0 8 -176124 -1 ! -1 0; #X text 143 47 7; #X text 37 47 0; *************** *** 404,452 **** ; #X text 38 229 pulse all outputs; ! #X connect 0 0 76 0; #X connect 1 0 0 0; ! #X connect 5 0 76 0; ! #X connect 7 0 35 2; ! #X connect 8 0 75 1; ! #X connect 9 0 75 0; ! #X connect 10 0 35 1; ! #X connect 12 0 73 1; ! #X connect 13 0 6 0; ! #X connect 17 0 19 0; ! #X connect 18 0 17 1; ! #X connect 19 0 34 0; ! #X connect 19 1 34 1; ! #X connect 19 2 34 2; ! #X connect 19 3 34 3; ! #X connect 19 4 34 4; ! #X connect 19 5 34 5; ! #X connect 19 6 34 6; ! #X connect 20 0 11 0; ! #X connect 20 0 22 0; ! #X connect 20 0 31 0; ! #X connect 20 1 21 0; ! #X connect 24 0 26 0; ! #X connect 26 0 76 0; ! #X connect 27 0 76 0; ! #X connect 28 0 27 0; ! #X connect 31 0 33 0; ! #X connect 32 0 31 1; ! #X connect 34 0 37 0; ! #X connect 34 1 38 0; ! #X connect 34 2 39 0; ! #X connect 34 3 40 0; ! #X connect 34 4 41 0; ! #X connect 34 5 42 0; ! #X connect 34 6 20 0; ! #X connect 48 0 76 0; ! #X connect 49 0 76 0; ! #X connect 50 0 76 1; ! #X connect 52 0 73 1; ! #X connect 58 0 73 0; ! #X connect 73 0 74 0; ! #X connect 74 0 76 0; ! #X connect 75 0 48 0; ! #X connect 76 0 17 0; ! #X connect 76 1 35 0; ! #X connect 78 0 76 0; ! #X connect 79 0 49 0; --- 398,442 ---- ; #X text 38 229 pulse all outputs; ! #X connect 0 0 71 0; #X connect 1 0 0 0; ! #X connect 5 0 71 0; ! #X connect 6 0 30 2; ! #X connect 7 0 70 1; ! #X connect 8 0 70 0; ! #X connect 9 0 30 1; ! #X connect 11 0 68 1; ! #X connect 15 0 17 0; ! #X connect 16 0 15 1; ! #X connect 17 0 29 0; ! #X connect 17 1 29 1; ! #X connect 17 2 29 2; ! #X connect 17 3 29 3; ! #X connect 17 4 29 4; ! #X connect 17 5 29 5; ! #X connect 17 6 29 6; ! #X connect 18 0 10 0; ! #X connect 18 0 20 0; ! #X connect 18 1 19 0; ! #X connect 22 0 24 0; ! #X connect 24 0 71 0; ! #X connect 25 0 71 0; ! #X connect 26 0 25 0; ! #X connect 29 0 32 0; ! #X connect 29 1 33 0; ! #X connect 29 2 34 0; ! #X connect 29 3 35 0; ! #X connect 29 4 36 0; ! #X connect 29 5 37 0; ! #X connect 29 6 18 0; ! #X connect 43 0 71 0; ! #X connect 44 0 71 0; ! #X connect 45 0 71 1; ! #X connect 47 0 68 1; ! #X connect 53 0 68 0; ! #X connect 68 0 69 0; ! #X connect 69 0 71 0; ! #X connect 70 0 43 0; ! #X connect 71 0 15 0; ! #X connect 71 1 30 0; ! #X connect 73 0 71 0; ! #X connect 74 0 44 0;