aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-08-11 22:34:26 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-08-11 22:34:26 +0000
commit5bd2b9c2777184c99346184c3ebb64ea05b50a0b (patch)
tree4e5ef23fc73056d16071fd23cd323fcc595e8272
parent596056c1f13b8d81f8e082ed3f4970f69a2edb8d (diff)
fixed bug reported by Christopher Coleman where inputs on pin 7, 15, 23, etc. were not being reported
svn path=/trunk/externals/hardware/arduino/; revision=11898
-rw-r--r--arduino.pd92
1 files changed, 40 insertions, 52 deletions
diff --git a/arduino.pd b/arduino.pd
index 7737974..bd66103 100644
--- a/arduino.pd
+++ b/arduino.pd
@@ -1,4 +1,4 @@
-#N canvas 16 261 585 366 10;
+#N canvas 144 148 585 366 10;
#X obj 32 26 inlet;
#X obj 32 304 outlet;
#X obj 515 304 outlet;
@@ -452,35 +452,29 @@ with;
#X connect 5 1 3 0;
#X restore 52 257 pd check version;
#X obj 32 143 flatspace/comport \$1 57600;
-#N canvas 291 212 541 319 convert 0;
+#N canvas 195 186 541 319 convert 0;
#X obj 142 278 outlet;
#X obj 340 150 print UNKNOWN_INPUT_COMMAND;
-#N canvas 953 308 511 485 digital 0;
+#N canvas 345 76 394 394 digital 0;
#X obj 33 6 inlet;
-#X obj 294 440 outlet;
-#X obj 48 125 mapping/debytemask;
-#X msg 6 237 0 \$1;
-#X msg 44 237 1 \$1;
-#X msg 82 237 2 \$1;
-#X msg 120 237 3 \$1;
-#X msg 158 237 4 \$1;
-#X msg 196 237 5 \$1;
-#X msg 234 237 6 \$1;
-#X msg 286 237 7 \$1;
-#X obj 33 92 unpack float float float;
-#X obj 294 323 unpack 0 0;
-#X obj 294 366 pack 0 0;
-#X obj 294 344 +;
-#X obj 339 111 unpack float float float;
-#X obj 339 133 & 15;
-#X obj 33 67 trigger anything anything;
-#X msg 294 387 digital \$1 \$2;
-#X obj 339 154 * 8;
-#X msg 169 33 145 2 0;
-#X obj 217 125 mapping/debytemask;
-#X msg 40 33 145 16 0;
-#X msg 100 33 145 17 0;
-#X connect 0 0 17 0;
+#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;
@@ -488,30 +482,24 @@ with;
#X connect 2 4 7 0;
#X connect 2 5 8 0;
#X connect 2 6 9 0;
-#X connect 3 0 12 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 1 2 0;
-#X connect 11 2 21 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 12 1 13 1;
-#X connect 13 0 18 0;
-#X connect 14 0 13 0;
-#X connect 15 0 16 0;
-#X connect 16 0 19 0;
-#X connect 17 0 11 0;
-#X connect 17 1 15 0;
-#X connect 18 0 1 0;
-#X connect 19 0 14 1;
-#X connect 20 0 17 0;
-#X connect 21 0 10 0;
-#X connect 22 0 17 0;
-#X connect 23 0 17 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;
#X restore 205 174 pd digital messages;
#N canvas 234 399 335 267 analog 0;
#X obj 65 16 inlet;
@@ -674,7 +662,7 @@ byte left over;
#X text 359 178 0xF0;
#X obj 346 236 bang;
#X obj 211 236 bang;
-#N canvas 134 58 335 257 parse 0;
+#N canvas 147 640 335 257 parse 0;
#X obj 73 18 inlet;
#X obj 73 215 outlet;
#X obj 73 161 pack float float;
@@ -736,7 +724,7 @@ byte left over;
#X restore 32 229 pd convert to symbolic commands;
#X text 27 331 (C) Copyright 2006-2008 Free Software Foundation;
#X text 334 330 released under the GNU GPL v2 or later;
-#X obj 188 203 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+#X obj 188 203 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 188 181 route open;
#X connect 0 0 3 0;