aboutsummaryrefslogtreecommitdiff
path: root/arduino.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-03-19 03:07:54 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-03-19 03:07:54 +0000
commit05473bcb4e541c6da62ccfc852d7df152630911d (patch)
tree052766d518a06f58d5128afabe462644f4a970eb /arduino.pd
parent07462dc347aacdad47ae68b02a3f16b1c18d9ca9 (diff)
use one mapping/debytemask instance per digital input port to fix bugs with state
svn path=/trunk/externals/hardware/arduino/; revision=16078
Diffstat (limited to 'arduino.pd')
-rw-r--r--arduino.pd274
1 files changed, 229 insertions, 45 deletions
diff --git a/arduino.pd b/arduino.pd
index bda6d2d..e78ac97 100644
--- a/arduino.pd
+++ b/arduino.pd
@@ -517,51 +517,235 @@ with;
#N canvas 195 186 541 319 convert 0;
#X obj 142 278 outlet;
#X obj 340 150 print UNKNOWN_INPUT_COMMAND;
-#N canvas 345 76 394 394 digital 0;
-#X obj 33 6 inlet;
-#X obj 81 347 outlet;
-#X obj 138 76 mapping/debytemask;
-#X msg 66 137 0 \$1;
-#X msg 104 137 1 \$1;
-#X msg 142 137 2 \$1;
-#X msg 180 137 3 \$1;
-#X msg 218 137 4 \$1;
-#X msg 256 137 5 \$1;
-#X msg 294 137 6 \$1;
-#X msg 336 137 7 \$1;
-#X obj 81 251 +;
-#X obj 33 76 & 15;
-#X msg 81 304 digital \$1 \$2;
-#X obj 33 97 * 8;
-#X obj 33 52 unpack float float;
-#X obj 81 273 pack float float;
-#X obj 96 229 unpack float float;
-#X connect 0 0 15 0;
-#X connect 2 0 3 0;
-#X connect 2 1 4 0;
-#X connect 2 2 5 0;
-#X connect 2 3 6 0;
-#X connect 2 4 7 0;
-#X connect 2 5 8 0;
-#X connect 2 6 9 0;
-#X connect 2 7 10 0;
-#X connect 3 0 17 0;
-#X connect 4 0 17 0;
-#X connect 5 0 17 0;
-#X connect 6 0 17 0;
-#X connect 7 0 17 0;
-#X connect 8 0 17 0;
-#X connect 9 0 17 0;
-#X connect 10 0 17 0;
-#X connect 11 0 16 0;
-#X connect 12 0 14 0;
-#X connect 13 0 1 0;
-#X connect 14 0 11 0;
-#X connect 15 0 12 0;
-#X connect 15 1 2 0;
-#X connect 16 0 13 0;
-#X connect 17 0 11 1;
-#X connect 17 1 16 1;
+#N canvas 126 79 1177 383 digital 0;
+#X obj 407 4 inlet;
+#X obj 412 352 outlet;
+#X obj 33 104 mapping/debytemask;
+#X obj 407 48 route 0 1 2 3 4 5 6 7;
+#X msg 33 132 digital 0 \$1;
+#X msg 42 152 digital 1 \$1;
+#X msg 51 172 digital 2 \$1;
+#X msg 58 192 digital 3 \$1;
+#X msg 65 212 digital 4 \$1;
+#X msg 71 232 digital 5 \$1;
+#X msg 78 252 digital 6 \$1;
+#X msg 86 273 digital 7 \$1;
+#X obj 33 298 trigger anything;
+#X obj 173 104 mapping/debytemask;
+#X obj 173 298 trigger anything;
+#X obj 313 104 mapping/debytemask;
+#X obj 313 298 trigger anything;
+#X obj 453 104 mapping/debytemask;
+#X obj 453 298 trigger anything;
+#X obj 593 104 mapping/debytemask;
+#X obj 593 298 trigger anything;
+#X obj 733 104 mapping/debytemask;
+#X obj 733 298 trigger anything;
+#X obj 873 104 mapping/debytemask;
+#X obj 873 298 trigger anything;
+#X obj 1013 104 mapping/debytemask;
+#X obj 1013 298 trigger anything;
+#X msg 173 132 digital 8 \$1;
+#X msg 182 152 digital 9 \$1;
+#X msg 191 172 digital 10 \$1;
+#X msg 198 192 digital 11 \$1;
+#X msg 205 212 digital 12 \$1;
+#X msg 211 232 digital 13 \$1;
+#X msg 218 252 digital 14 \$1;
+#X msg 226 273 digital 15 \$1;
+#X msg 313 132 digital 16 \$1;
+#X msg 322 152 digital 17 \$1;
+#X msg 331 172 digital 18 \$1;
+#X msg 338 192 digital 19 \$1;
+#X msg 345 212 digital 20 \$1;
+#X msg 351 232 digital 21 \$1;
+#X msg 358 252 digital 22 \$1;
+#X msg 366 273 digital 23 \$1;
+#X msg 453 132 digital 24 \$1;
+#X msg 462 152 digital 25 \$1;
+#X msg 471 172 digital 26 \$1;
+#X msg 478 192 digital 27 \$1;
+#X msg 485 212 digital 28 \$1;
+#X msg 491 232 digital 29 \$1;
+#X msg 498 252 digital 30 \$1;
+#X msg 506 273 digital 31 \$1;
+#X msg 593 132 digital 32 \$1;
+#X msg 602 152 digital 33 \$1;
+#X msg 611 172 digital 34 \$1;
+#X msg 618 192 digital 35 \$1;
+#X msg 625 212 digital 36 \$1;
+#X msg 631 232 digital 37 \$1;
+#X msg 638 252 digital 38 \$1;
+#X msg 646 273 digital 39 \$1;
+#X msg 733 132 digital 40 \$1;
+#X msg 742 152 digital 41 \$1;
+#X msg 751 172 digital 42 \$1;
+#X msg 758 192 digital 43 \$1;
+#X msg 765 212 digital 44 \$1;
+#X msg 771 232 digital 45 \$1;
+#X msg 778 252 digital 46 \$1;
+#X msg 786 273 digital 47 \$1;
+#X msg 873 132 digital 48 \$1;
+#X msg 882 152 digital 49 \$1;
+#X msg 891 172 digital 50 \$1;
+#X msg 898 192 digital 51 \$1;
+#X msg 905 212 digital 52 \$1;
+#X msg 911 232 digital 53 \$1;
+#X msg 918 252 digital 54 \$1;
+#X msg 926 273 digital 55 \$1;
+#X msg 1013 132 digital 56 \$1;
+#X msg 1022 152 digital 57 \$1;
+#X msg 1030 172 digital 58 \$1;
+#X msg 1038 192 digital 59 \$1;
+#X msg 1045 212 digital 60 \$1;
+#X msg 1051 232 digital 61 \$1;
+#X msg 1058 252 digital 62 \$1;
+#X msg 1066 273 digital 63 \$1;
+#X connect 0 0 3 0;
+#X connect 2 0 4 0;
+#X connect 2 1 5 0;
+#X connect 2 2 6 0;
+#X connect 2 3 7 0;
+#X connect 2 4 8 0;
+#X connect 2 5 9 0;
+#X connect 2 6 10 0;
+#X connect 2 7 11 0;
+#X connect 3 0 2 0;
+#X connect 3 1 13 0;
+#X connect 3 2 15 0;
+#X connect 3 3 17 0;
+#X connect 3 4 19 0;
+#X connect 3 5 21 0;
+#X connect 3 6 23 0;
+#X connect 3 7 25 0;
+#X connect 4 0 12 0;
+#X connect 5 0 12 0;
+#X connect 6 0 12 0;
+#X connect 7 0 12 0;
+#X connect 8 0 12 0;
+#X connect 9 0 12 0;
+#X connect 10 0 12 0;
+#X connect 11 0 12 0;
+#X connect 12 0 1 0;
+#X connect 13 0 27 0;
+#X connect 13 1 28 0;
+#X connect 13 2 29 0;
+#X connect 13 3 30 0;
+#X connect 13 4 31 0;
+#X connect 13 5 32 0;
+#X connect 13 6 33 0;
+#X connect 13 7 34 0;
+#X connect 14 0 1 0;
+#X connect 15 0 35 0;
+#X connect 15 1 36 0;
+#X connect 15 2 37 0;
+#X connect 15 3 38 0;
+#X connect 15 4 39 0;
+#X connect 15 5 40 0;
+#X connect 15 6 41 0;
+#X connect 15 7 42 0;
+#X connect 16 0 1 0;
+#X connect 17 0 43 0;
+#X connect 17 1 44 0;
+#X connect 17 2 45 0;
+#X connect 17 3 46 0;
+#X connect 17 4 47 0;
+#X connect 17 5 48 0;
+#X connect 17 6 49 0;
+#X connect 17 7 50 0;
+#X connect 18 0 1 0;
+#X connect 19 0 51 0;
+#X connect 19 1 52 0;
+#X connect 19 2 53 0;
+#X connect 19 3 54 0;
+#X connect 19 4 55 0;
+#X connect 19 5 56 0;
+#X connect 19 6 57 0;
+#X connect 19 7 58 0;
+#X connect 20 0 1 0;
+#X connect 21 0 59 0;
+#X connect 21 1 60 0;
+#X connect 21 2 61 0;
+#X connect 21 3 62 0;
+#X connect 21 4 63 0;
+#X connect 21 5 64 0;
+#X connect 21 6 65 0;
+#X connect 21 7 66 0;
+#X connect 22 0 1 0;
+#X connect 23 0 67 0;
+#X connect 23 1 68 0;
+#X connect 23 2 69 0;
+#X connect 23 3 70 0;
+#X connect 23 4 71 0;
+#X connect 23 5 72 0;
+#X connect 23 6 73 0;
+#X connect 23 7 74 0;
+#X connect 24 0 1 0;
+#X connect 25 0 75 0;
+#X connect 25 1 76 0;
+#X connect 25 2 77 0;
+#X connect 25 3 78 0;
+#X connect 25 4 79 0;
+#X connect 25 5 80 0;
+#X connect 25 6 81 0;
+#X connect 25 7 82 0;
+#X connect 26 0 1 0;
+#X connect 27 0 14 0;
+#X connect 28 0 14 0;
+#X connect 29 0 14 0;
+#X connect 30 0 14 0;
+#X connect 31 0 14 0;
+#X connect 32 0 14 0;
+#X connect 33 0 14 0;
+#X connect 34 0 14 0;
+#X connect 35 0 16 0;
+#X connect 36 0 16 0;
+#X connect 37 0 16 0;
+#X connect 38 0 16 0;
+#X connect 39 0 16 0;
+#X connect 40 0 16 0;
+#X connect 41 0 16 0;
+#X connect 42 0 16 0;
+#X connect 43 0 18 0;
+#X connect 44 0 18 0;
+#X connect 45 0 18 0;
+#X connect 46 0 18 0;
+#X connect 47 0 18 0;
+#X connect 48 0 18 0;
+#X connect 49 0 18 0;
+#X connect 50 0 18 0;
+#X connect 51 0 20 0;
+#X connect 52 0 20 0;
+#X connect 53 0 20 0;
+#X connect 54 0 20 0;
+#X connect 55 0 20 0;
+#X connect 56 0 20 0;
+#X connect 57 0 20 0;
+#X connect 58 0 20 0;
+#X connect 59 0 22 0;
+#X connect 60 0 22 0;
+#X connect 61 0 22 0;
+#X connect 62 0 22 0;
+#X connect 63 0 22 0;
+#X connect 64 0 22 0;
+#X connect 65 0 22 0;
+#X connect 66 0 22 0;
+#X connect 67 0 24 0;
+#X connect 68 0 24 0;
+#X connect 69 0 24 0;
+#X connect 70 0 24 0;
+#X connect 71 0 24 0;
+#X connect 72 0 24 0;
+#X connect 73 0 24 0;
+#X connect 74 0 24 0;
+#X connect 75 0 26 0;
+#X connect 76 0 26 0;
+#X connect 77 0 26 0;
+#X connect 78 0 26 0;
+#X connect 79 0 26 0;
+#X connect 80 0 26 0;
+#X connect 81 0 26 0;
+#X connect 82 0 26 0;
#X restore 205 174 pd digital messages;
#N canvas 234 399 335 267 analog 0;
#X obj 65 16 inlet;