Skip to content

Commit

Permalink
add support for incoming 'analog' message
Browse files Browse the repository at this point in the history
  • Loading branch information
reduzent committed Feb 21, 2012
1 parent d5633e9 commit b423100
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions includes/agop.digital.pin.pd
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@
1 5 0 10 -228856 -228856 -1 171 1;
#X obj 42 19 nbx 1 14 0 100 0 0 \$0.nb.s \$0.nb.r empty 0 -8 0 10 -262144
-1 -1 0 256;
#X obj 29 21 vsl 12 9 0 1 0 0 \$0.sl.s \$0.sl.r 13 1 6 0 9 -233017
#X obj 29 21 vsl 12 9 0 1 0 0 \$0.sl.s \$0.sl.r 11 1 6 0 9 -233017
-233017 -1 400 1;
#N canvas 916 177 478 381 show.value 0;
#X obj 21 96 * 0.01;
Expand Down Expand Up @@ -891,7 +891,7 @@ empty 1 5 0 10 -228856 -228856 -1 0 1;
#X connect 2 0 4 0;
#X connect 4 0 3 0;
#X restore 17 273 pd digital.input;
#N canvas 699 417 205 172 ready 0;
#N canvas 699 445 205 172 ready 0;
#X obj -15 -92 r \$1.ARDUINO.INTERN;
#X obj -15 -70 route ready;
#X obj -15 7 s \$0.ready;
Expand Down Expand Up @@ -1021,6 +1021,31 @@ empty 1 5 0 10 -228856 -228856 -1 0 1;
#X connect 6 0 2 1;
#X connect 8 0 0 0;
#X restore 11 36 pd digital;
#N canvas 909 358 232 267 analog 0;
#X obj 10 55 route \$2;
#X obj 10 11 r \$0.incoming;
#X obj 10 133 spigot 0;
#X obj 111 49 r \$0.mode;
#X obj 10 33 route analog;
#X obj 10 155 clip 0 1;
#X obj 10 185 * 100;
#X obj 10 206 s \$0.nb.s;
#X msg 111 98 1;
#X msg 150 98 0;
#X obj 111 71 sel 3 4;
#X connect 0 0 2 0;
#X connect 1 0 4 0;
#X connect 2 0 5 0;
#X connect 3 0 10 0;
#X connect 4 0 0 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 8 0 2 1;
#X connect 9 0 2 1;
#X connect 10 0 8 0;
#X connect 10 1 8 0;
#X connect 10 2 9 0;
#X restore 11 63 pd analog;
#X connect 2 0 8 0;
#X connect 3 0 5 0;
#X connect 3 1 1 0;
Expand Down

0 comments on commit b423100

Please sign in to comment.