diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-08-27 02:09:16 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-08-27 02:09:16 +0000 |
commit | 98e71838d67246495a3518a23dad428e7bf3a2bb (patch) | |
tree | ba10a608b1f3c1a7a96b9ef926bf02afc07127fc /arduino.pd | |
parent | fc87836a7801aaab25a25b862a1de5422cc82d64 (diff) |
digital output and digital pin mode toggling work again
svn path=/trunk/externals/hardware/arduino/; revision=5754
Diffstat (limited to 'arduino.pd')
-rw-r--r-- | arduino.pd | 111 |
1 files changed, 66 insertions, 45 deletions
@@ -1,4 +1,4 @@ -#N canvas 289 52 628 497 10; +#N canvas 527 196 664 533 10; #X obj 504 -5 import flatspace; #X text 414 457 released under the GNU GPL; #X text 9 457 (C) Copyright 2006 Hans-Christoph Steiner <hans@at.or.at> @@ -57,22 +57,13 @@ #X obj 11 -9 inlet; #X obj 126 425 outlet; #X obj 494 241 outlet; -#N canvas 240 171 586 331 command 0; -#X obj 79 8 inlet; -#X obj 198 269 outlet; -#X obj 135 115 * 255; -#X obj 70 115 * 255; -#X obj 5 115 * 255; -#X obj 135 94 clip 0 1; -#X obj 70 94 clip 0 1; -#X obj 5 94 clip 0 1; -#X msg 135 136 232 \, \$1; -#X msg 70 136 231 \, \$1; -#X msg 5 136 230 \, \$1; -#X obj 200 94 clip 0 6; -#X obj 263 94 clip 0 1; -#X obj 263 115 int; -#N canvas 0 22 466 316 digital-out 0; +#N canvas 678 51 534 329 command 0; +#X obj 29 8 inlet; +#X obj 148 269 outlet; +#X obj 100 94 clip 0 6; +#X obj 171 94 clip 0 1; +#X obj 171 115 int; +#N canvas 0 22 470 320 digital-out 0; #X obj 67 20 inlet; #X obj 85 280 outlet; #X obj 65 108 route float; @@ -92,9 +83,8 @@ #X connect 5 2 8 0; #X connect 7 0 4 0; #X connect 8 0 1 0; -#X restore 431 94 pd digital-out; -#X obj 80 53 route PWM0 PWM1 PWM2 analogIns digitalIns outputMode; -#N canvas 133 22 470 320 outputMode 0; +#X restore 403 93 pd digital-out; +#N canvas 133 22 478 328 outputMode 0; #X obj 81 11 inlet; #X obj 105 275 outlet; #X obj 81 70 unpack float float; @@ -109,33 +99,64 @@ #X connect 3 0 4 0; #X connect 4 0 1 0; #X connect 5 0 3 1; -#X restore 334 94 pd outputMode; -#X obj 200 135 + 160; -#X obj 263 137 + 150; -#X connect 0 0 15 0; -#X connect 2 0 8 0; -#X connect 3 0 9 0; -#X connect 4 0 10 0; -#X connect 5 0 2 0; -#X connect 6 0 3 0; -#X connect 7 0 4 0; +#X restore 241 94 pd outputMode; +#X obj 100 135 + 160; +#X obj 171 137 + 150; +#N canvas 345 422 474 324 pwm 0; +#X obj 66 8 inlet; +#X obj 102 276 outlet; +#X obj 238 139 * 255; +#X obj 238 118 clip 0 1; +#X obj 66 29 list split 1; +#X obj 36 215 float; +#X obj 105 50 route float symbol; +#X msg 238 214 251; +#X obj 124 202 float; +#X text 75 216 pin#; +#X text 164 203 PWM value; +#X msg 369 214 250; +#X obj 82 82 trigger bang bang float; +#X obj 255 82 trigger bang bang; +#X obj 238 159 int; +#X connect 0 0 4 0; +#X connect 2 0 14 0; +#X connect 3 0 2 0; +#X connect 4 0 5 1; +#X connect 4 1 6 0; +#X connect 5 0 1 0; +#X connect 6 0 12 0; +#X connect 6 1 13 0; +#X connect 7 0 1 0; +#X connect 8 0 1 0; +#X connect 11 0 1 0; +#X connect 12 0 8 0; +#X connect 12 1 5 0; +#X connect 12 2 3 0; +#X connect 13 0 5 0; +#X connect 13 1 11 0; +#X connect 14 0 7 0; +#X connect 14 0 8 1; +#X restore 30 94 pd pwm; +#X obj 22 233 print PWM; +#X obj 46 52 route pwm analogIns digitalIns outputMode info; +#X msg 355 94 info; +#X connect 0 0 11 0; +#X connect 2 0 7 0; +#X connect 3 0 4 0; +#X connect 4 0 8 0; +#X connect 5 0 1 0; +#X connect 6 0 1 0; +#X connect 7 0 1 0; #X connect 8 0 1 0; #X connect 9 0 1 0; -#X connect 10 0 1 0; -#X connect 11 0 17 0; -#X connect 12 0 13 0; -#X connect 13 0 18 0; -#X connect 14 0 1 0; -#X connect 15 0 7 0; -#X connect 15 1 6 0; -#X connect 15 2 5 0; -#X connect 15 3 11 0; -#X connect 15 4 12 0; -#X connect 15 5 16 0; -#X connect 15 6 14 0; -#X connect 16 0 1 0; -#X connect 17 0 1 0; -#X connect 18 0 1 0; +#X connect 9 0 10 0; +#X connect 11 0 9 0; +#X connect 11 1 2 0; +#X connect 11 2 3 0; +#X connect 11 3 6 0; +#X connect 11 4 12 0; +#X connect 11 5 5 0; +#X connect 12 0 1 0; #X restore 11 22 pd command processing; #X obj 66 132 moses 128; #X msg 27 346 symbol digital; |