aboutsummaryrefslogtreecommitdiff
path: root/arduino.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-09-08 21:32:51 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-09-08 21:32:51 +0000
commitbb0be2777d8afbdeb6b6ae3f72f1227ecec0379f (patch)
tree284b76c0c257504b3a83a6c4830b77ca70d369ee /arduino.pd
parent33b8d4a1521062bfaeca896aff95c48413981ae0 (diff)
- moved protocol version and firmware name to the status outlet
svn path=/trunk/externals/hardware/arduino/; revision=10281
Diffstat (limited to 'arduino.pd')
-rw-r--r--arduino.pd46
1 files changed, 27 insertions, 19 deletions
diff --git a/arduino.pd b/arduino.pd
index b4047ab..cc06bc4 100644
--- a/arduino.pd
+++ b/arduino.pd
@@ -364,7 +364,7 @@ with;
#X connect 5 1 3 0;
#X restore 52 257 pd check version;
#X obj 32 143 flatspace/comport \$1 115200;
-#N canvas 666 625 541 319 convert 0;
+#N canvas 291 212 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;
@@ -441,9 +441,9 @@ with;
#X connect 6 1 4 0;
#X restore 342 174 pd analog messages;
#X obj 97 13 inlet;
-#N canvas 921 447 492 456 sysex 0;
-#X obj 77 20 inlet;
-#X obj 77 407 outlet;
+#N canvas 476 232 420 451 sysex 0;
+#X obj 55 16 inlet;
+#X obj 55 403 outlet;
#N canvas 1036 237 450 300 firmware 0;
#X obj 91 6 inlet;
#X obj 91 272 outlet;
@@ -498,7 +498,7 @@ byte left over;
#X connect 6 1 7 0;
#X connect 6 2 7 0;
#X connect 7 0 5 0;
-#X restore 77 229 pd firmware;
+#X restore 55 225 pd firmware;
#N canvas 843 250 610 545 assemble 0;
#X text 91 24 Firmata sends 8-bit chars as two 7-bit bytes;
#X obj 36 24 inlet;
@@ -535,20 +535,23 @@ byte left over;
#X connect 12 1 8 1;
#X connect 13 0 12 0;
#X connect 13 1 3 0;
-#X restore 181 281 pd assemble 7-bit into 14-bit values;
-#X obj 181 330 list prepend;
-#X obj 181 351 list trim;
-#X obj 180 157 trigger anything anything;
-#X msg 327 181 \$1;
-#X obj 181 183 list split 1;
-#X obj 327 205 select 112 113;
-#X text 358 188 0x70 0x71;
-#X msg 356 230 string;
-#X msg 273 230 servo_config;
-#X text 108 80 0x79;
-#X obj 77 98 route 121;
+#X restore 159 277 pd assemble 7-bit into 14-bit values;
+#X obj 159 326 list prepend;
+#X obj 159 347 list trim;
+#X obj 158 153 trigger anything anything;
+#X msg 305 177 \$1;
+#X obj 159 179 list split 1;
+#X obj 305 201 select 112 113;
+#X text 336 184 0x70 0x71;
+#X msg 334 226 string;
+#X msg 251 226 servo_config;
+#X text 86 76 0x79;
+#X obj 55 94 route 121;
+#X text 96 401 data;
+#X obj 163 403 outlet;
+#X text 209 403 status;
#X connect 0 0 14 0;
-#X connect 2 0 1 0;
+#X connect 2 0 16 0;
#X connect 3 0 4 0;
#X connect 4 0 5 0;
#X connect 5 0 1 0;
@@ -627,17 +630,21 @@ byte left over;
#X obj 97 95 route 249 240;
#X text 124 80 0xF9 0xF0;
#X msg 40 174 version \$1 \$2;
+#X obj 263 277 outlet;
+#X text 312 279 status outlet;
+#X text 184 277 data outlet;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 7 0;
#X connect 5 0 0 0;
+#X connect 5 1 10 0;
#X connect 6 0 2 0;
#X connect 6 1 3 0;
#X connect 6 2 1 0;
#X connect 7 0 9 0;
#X connect 7 1 5 0;
#X connect 7 2 6 0;
-#X connect 9 0 0 0;
+#X connect 9 0 10 0;
#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;
@@ -651,3 +658,4 @@ byte left over;
#X connect 10 1 2 0;
#X connect 11 0 1 0;
#X connect 11 0 9 0;
+#X connect 11 1 2 0;