aboutsummaryrefslogtreecommitdiff
path: root/arduino.pd
diff options
context:
space:
mode:
Diffstat (limited to 'arduino.pd')
-rw-r--r--arduino.pd222
1 files changed, 118 insertions, 104 deletions
diff --git a/arduino.pd b/arduino.pd
index 826a91e..e79293b 100644
--- a/arduino.pd
+++ b/arduino.pd
@@ -1,63 +1,12 @@
-#N canvas 404 56 608 521 10;
+#N canvas 628 43 617 333 10;
#X obj 462 15 import flatspace;
-#X text 414 487 released under the GNU GPL;
-#X text 9 487 (C) Copyright 2006 Hans-Christoph Steiner <hans@at.or.at>
+#X text 415 287 released under the GNU GPL;
+#X text 10 287 (C) Copyright 2006 Hans-Christoph Steiner <hans@at.or.at>
;
-#N canvas 562 456 470 320 alternate 0;
-#X obj 87 8 inlet;
-#X obj 151 244 outlet;
-#X obj 319 247 outlet;
-#X obj 159 197 spigot;
-#X obj 319 191 spigot;
-#X obj 158 57 trigger anything bang;
-#X obj 196 152 abs;
-#X obj 356 147 abs;
-#X msg 295 77 1;
-#X obj 196 173 float;
-#X obj 355 168 float;
-#X obj 86 34 route reset;
-#X obj 356 128 -;
-#X obj 196 133 -;
-#X obj 15 35 loadbang;
-#X obj 86 54 bang;
-#X msg 73 82 1;
-#X msg 103 82 0;
-#X connect 0 0 11 0;
-#X connect 3 0 1 0;
-#X connect 4 0 2 0;
-#X connect 5 0 3 0;
-#X connect 5 0 4 0;
-#X connect 5 1 8 0;
-#X connect 6 0 9 0;
-#X connect 7 0 10 0;
-#X connect 8 0 12 0;
-#X connect 8 0 13 0;
-#X connect 9 0 3 1;
-#X connect 9 0 13 1;
-#X connect 10 0 4 1;
-#X connect 10 0 12 1;
-#X connect 11 0 15 0;
-#X connect 11 1 5 0;
-#X connect 12 0 7 0;
-#X connect 13 0 6 0;
-#X connect 14 0 17 0;
-#X connect 14 0 16 0;
-#X connect 15 0 17 0;
-#X connect 15 0 16 0;
-#X connect 16 0 13 1;
-#X connect 17 0 12 1;
-#X restore 76 191 pd alternate;
-#X msg 11 160 reset;
-#X obj 120 233 +;
-#X obj 120 254 trigger bang float;
-#X obj 126 405 pack symbol float;
-#X msg 124 288 0;
-#X obj 11 138 select 255;
-#X obj 76 210 * 128;
#X obj 11 21 inlet;
-#X obj 126 455 outlet;
+#X obj 11 196 outlet;
#X obj 494 241 outlet;
-#N canvas 275 202 542 337 command 0;
+#N canvas 120 132 612 337 command 0;
#X obj 46 8 inlet;
#X obj 148 269 outlet;
#X obj 100 94 clip 0 6;
@@ -83,7 +32,7 @@
#X connect 5 2 8 0;
#X connect 7 0 4 0;
#X connect 8 0 1 0;
-#X restore 403 93 pd digital-out;
+#X restore 449 93 pd digital-out;
#N canvas 90 168 520 327 outputMode 0;
#X obj 60 11 inlet;
#X obj 175 275 outlet;
@@ -123,9 +72,9 @@ to input;
#X obj 232 185 * 255;
#X obj 232 164 clip 0 1;
#X obj 232 205 int;
-#N canvas 0 0 450 300 list-rev 0;
+#N canvas 0 22 450 300 list-rev 0;
#X obj 92 29 inlet;
-#N canvas 0 0 533 407 drip 0;
+#N canvas 0 22 533 407 drip 0;
#X obj 64 206 list split 1;
#X obj 64 123 until;
#X obj 64 181 list append;
@@ -190,9 +139,11 @@ to input;
#X connect 14 0 2 0;
#X connect 14 1 1 0;
#X restore 30 94 pd pwm;
-#X obj 46 52 route pwm analogIns digitalIns outputMode info;
-#X msg 355 94 info;
-#X connect 0 0 10 0;
+#X msg 340 94 info;
+#X obj 46 52 route pwm analogIns digitalIns outputMode info version
+;
+#X msg 390 93 240;
+#X connect 0 0 11 0;
#X connect 2 0 7 0;
#X connect 3 0 4 0;
#X connect 4 0 8 0;
@@ -201,51 +152,114 @@ to input;
#X connect 7 0 1 0;
#X connect 8 0 1 0;
#X connect 9 0 1 0;
-#X connect 10 0 9 0;
-#X connect 10 1 2 0;
-#X connect 10 2 3 0;
-#X connect 10 3 6 0;
-#X connect 10 4 11 0;
-#X connect 10 5 5 0;
-#X connect 11 0 1 0;
+#X connect 10 0 1 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 10 0;
+#X connect 11 5 12 0;
+#X connect 11 6 5 0;
+#X connect 12 0 1 0;
#X restore 11 52 pd command processing;
-#X obj 76 162 moses 128;
-#X msg 27 376 symbol digital;
-#X obj 142 375 makefilename analog%c;
-#X obj 99 309 float;
-#X obj 138 309 + 1;
-#X obj 126 430 list trim;
-#X obj 99 331 select 0;
-#X text 287 285 DEBUG/RAW data (this will change);
-#X obj 142 353 + 47;
+#X text 257 242 DEBUG/RAW data (this will change);
#X obj 379 19 inlet;
#X text 354 0 raw input;
#X text 10 -1 processed input;
#X obj 11 96 comport \$1 19200;
-#X connect 3 0 10 0;
-#X connect 3 1 5 1;
+#N canvas 182 25 380 443 make 0;
+#X obj 147 8 inlet;
+#X obj 71 334 outlet;
+#X obj 147 37 moses 128;
+#X obj 27 198 float;
+#N canvas 382 81 506 356 alternate 0;
+#X obj 34 280 outlet;
+#X obj 209 277 outlet;
+#X obj 34 210 spigot;
+#X obj 209 204 spigot;
+#X obj 33 87 trigger anything bang;
+#X msg 175 107 1;
+#X obj 71 186 float;
+#X obj 245 181 float;
+#X obj 357 41 loadbang;
+#X obj 342 74 bang;
+#X obj 246 158 !=;
+#X obj 71 163 !=;
+#X obj 342 7 inlet;
+#X text 384 6 reset;
+#X obj 33 12 inlet;
+#X msg 329 102 1;
+#X msg 359 102 0;
+#X connect 2 0 0 0;
+#X connect 3 0 1 0;
+#X connect 4 0 2 0;
#X connect 4 0 3 0;
-#X connect 4 0 8 0;
-#X connect 5 0 6 0;
-#X connect 6 0 18 0;
-#X connect 6 1 7 1;
-#X connect 7 0 20 0;
-#X connect 8 0 18 1;
-#X connect 9 0 4 0;
-#X connect 9 1 15 0;
-#X connect 10 0 5 0;
-#X connect 11 0 14 0;
-#X connect 14 0 27 0;
-#X connect 15 0 3 0;
-#X connect 16 0 7 0;
-#X connect 17 0 7 0;
-#X connect 18 0 19 0;
-#X connect 18 0 21 0;
-#X connect 19 0 18 1;
-#X connect 20 0 12 0;
-#X connect 21 0 16 0;
-#X connect 21 1 23 0;
-#X connect 23 0 17 0;
-#X connect 24 0 27 0;
-#X connect 27 0 9 0;
-#X connect 27 0 13 0;
+#X connect 4 1 5 0;
+#X connect 5 0 10 0;
+#X connect 5 0 11 0;
+#X connect 6 0 2 1;
+#X connect 6 0 11 1;
+#X connect 7 0 3 1;
+#X connect 7 0 10 1;
+#X connect 8 0 9 0;
+#X connect 9 0 16 0;
+#X connect 9 0 15 0;
+#X connect 10 0 7 0;
+#X connect 11 0 6 0;
+#X connect 12 0 9 0;
+#X connect 14 0 4 0;
+#X connect 15 0 11 1;
+#X connect 16 0 10 1;
+#X restore 147 130 pd alternate;
+#X obj 27 173 trigger bang float;
+#X obj 226 111 bang;
+#N canvas 0 22 576 352 convert 0;
+#X obj 98 22 inlet;
+#X obj 163 314 outlet;
+#X obj 365 204 print UNKNOWN_INPUT_COMMAND;
+#X obj 98 68 select 151 240;
+#X obj 191 89 moses 161;
+#X obj 250 113 moses 167;
+#X obj 188 195 makefilename analog%c;
+#X obj 188 174 - 113;
+#X msg 117 131 symbol version;
+#X msg 8 131 symbol digital;
+#X connect 0 0 3 0;
+#X connect 3 0 9 0;
+#X connect 3 1 8 0;
+#X connect 3 2 4 0;
+#X connect 4 0 2 0;
+#X connect 4 1 5 0;
+#X connect 5 0 7 0;
+#X connect 5 1 2 0;
+#X connect 6 0 1 0;
+#X connect 7 0 6 0;
+#X connect 8 0 1 0;
+#X connect 9 0 1 0;
+#X restore 27 219 pd convert commands;
+#X obj 70 296 list trim;
+#X obj 70 273 pack symbol float;
+#X obj 184 219 +;
+#X obj 200 197 * 128;
+#X connect 0 0 2 0;
+#X connect 2 0 4 0;
+#X connect 2 1 3 1;
+#X connect 2 1 6 0;
+#X connect 3 0 7 0;
+#X connect 4 0 5 0;
+#X connect 4 1 11 0;
+#X connect 5 0 3 0;
+#X connect 5 1 10 0;
+#X connect 6 0 4 1;
+#X connect 7 0 9 0;
+#X connect 8 0 1 0;
+#X connect 9 0 8 0;
+#X connect 10 0 9 1;
+#X connect 11 0 10 1;
+#X restore 10 165 pd make lists;
+#X connect 3 0 6 0;
+#X connect 6 0 11 0;
+#X connect 8 0 11 0;
+#X connect 11 0 5 0;
+#X connect 11 0 12 0;
+#X connect 12 0 4 0;