diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-07-02 23:35:27 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-07-02 23:35:27 +0000 |
commit | e3c32dd84f639774b58223c4f2115725558e9de7 (patch) | |
tree | 978c84a3819a52e76aa2e2e5cb1c1b6ff6c3ba88 | |
parent | c40daef33d2e39f5af16871c9a7cdb1c724f0607 (diff) |
enabled mode pin modes beyond 0 and 1
svn path=/trunk/externals/hardware/arduino/; revision=11843
-rw-r--r-- | arduino.pd | 31 |
1 files changed, 12 insertions, 19 deletions
@@ -2,7 +2,7 @@ #X obj 32 26 inlet; #X obj 32 304 outlet; #X obj 515 304 outlet; -#N canvas 47 171 822 340 command 0; +#N canvas 47 171 822 340 command 1; #X obj 24 7 inlet; #X obj 299 298 outlet; #N canvas 75 439 547 478 digital-out 0; @@ -72,35 +72,28 @@ #X connect 26 1 24 0; #X connect 27 0 21 0; #X restore 326 122 pd digital-out; -#N canvas 310 221 540 347 pinMode 0; +#N canvas 244 210 540 347 pinMode 0; #X obj 190 11 inlet; #X obj 289 307 outlet; #X obj 60 91 unpack float float; #X text 27 90 pin#; #X text 177 92 mode; #X obj 60 146 moses 128; -#X obj 165 144 select 0; -#X msg 165 167 0; -#X msg 210 167 1; -#X text 54 125 do bounds checking to be safe; #X obj 190 35 trigger list bang; #X msg 289 256 244; #X obj 138 254 float; #X obj 36 202 trigger bang float; -#X connect 0 0 10 0; +#X text 120 146 do bounds checking to be safe; +#X connect 0 0 6 0; #X connect 2 0 5 0; -#X connect 2 1 6 0; -#X connect 5 0 13 0; -#X connect 6 0 7 0; -#X connect 6 1 8 0; -#X connect 7 0 12 1; -#X connect 8 0 12 1; -#X connect 10 0 2 0; -#X connect 10 1 11 0; -#X connect 11 0 1 0; -#X connect 12 0 1 0; -#X connect 13 0 12 0; -#X connect 13 1 1 0; +#X connect 2 1 8 1; +#X connect 5 0 9 0; +#X connect 6 0 2 0; +#X connect 6 1 7 0; +#X connect 7 0 1 0; +#X connect 8 0 1 0; +#X connect 9 0 8 0; +#X connect 9 1 1 0; #X restore 238 94 pd pinMode; #N canvas 300 373 372 380 pwm 0; #X obj 44 14 inlet; |