diff options
-rw-r--r-- | arduino-stress-test.pd | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/arduino-stress-test.pd b/arduino-stress-test.pd new file mode 100644 index 0000000..ac3a6cb --- /dev/null +++ b/arduino-stress-test.pd @@ -0,0 +1,107 @@ +#N canvas 309 64 770 472 10; +#X obj 635 8 import flatspace; +#X msg 23 170 240; +#X obj 99 286 float; +#X obj 141 286 + 1; +#X floatatom 99 306 5 0 0 0 - - -; +#X msg 162 207 0; +#X obj 100 253 select 240; +#X obj 27 139 until; +#X obj 26 100 trigger bang bang; +#X msg 24 80 bang; +#X obj 99 361 spigot; +#X obj 136 343 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X obj 99 323 select 1; +#X obj 99 382 delay 200; +#X msg 27 120 200; +#X msg 623 100 close; +#X msg 616 78 open 1; +#X msg 630 139 160 \, 228; +#X text 627 114 turn off inputs; +#X msg 627 174 166 \, 229; +#X obj 589 206 comport 100 115200; +#X text 623 158 turn on all inputs; +#X obj 591 54 receive \$0-arduino; +#X obj 588 233 send \$0-arduino-out; +#X obj 23 193 send \$0-arduino; +#X obj 100 232 receive \$0-arduino-out; +#X text 16 31 high-speed bursts; +#X msg 299 180 240; +#X obj 300 283 float; +#X obj 342 283 + 1; +#X msg 413 86 0; +#X obj 300 262 select 240; +#X obj 299 67 trigger bang bang; +#X msg 299 45 bang; +#X obj 300 212 send \$0-arduino; +#X obj 300 241 receive \$0-arduino-out; +#X obj 299 117 float; +#X obj 339 117 + 1; +#X obj 357 157 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 351 188 5 0 0 0 - - -; +#X obj 299 158 bang; +#X obj 299 138 moses 201; +#X obj 246 328 moses 190; +#X obj 273 406 float; +#X obj 239 354 bang; +#X obj 273 426 print END; +#X obj 434 136 spigot; +#X obj 471 118 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X obj 434 155 delay 200; +#X obj 238 135 delay 1; +#X obj 239 373 delay 100; +#X connect 1 0 24 0; +#X connect 2 0 3 0; +#X connect 2 0 4 0; +#X connect 3 0 2 1; +#X connect 4 0 12 0; +#X connect 5 0 2 0; +#X connect 6 0 2 0; +#X connect 7 0 1 0; +#X connect 8 0 14 0; +#X connect 8 1 5 0; +#X connect 9 0 8 0; +#X connect 10 0 13 0; +#X connect 11 0 10 1; +#X connect 12 0 10 0; +#X connect 13 0 9 0; +#X connect 14 0 7 0; +#X connect 15 0 20 0; +#X connect 16 0 20 0; +#X connect 17 0 20 0; +#X connect 19 0 20 0; +#X connect 20 0 23 0; +#X connect 22 0 20 0; +#X connect 25 0 6 0; +#X connect 27 0 34 0; +#X connect 28 0 29 0; +#X connect 28 0 42 0; +#X connect 29 0 28 1; +#X connect 30 0 28 0; +#X connect 30 0 36 0; +#X connect 31 0 28 0; +#X connect 32 0 36 0; +#X connect 32 1 30 0; +#X connect 33 0 32 0; +#X connect 35 0 31 0; +#X connect 36 0 37 0; +#X connect 36 0 41 0; +#X connect 37 0 36 1; +#X connect 38 0 46 0; +#X connect 40 0 27 0; +#X connect 40 0 49 0; +#X connect 41 0 39 0; +#X connect 41 0 40 0; +#X connect 41 1 38 0; +#X connect 42 1 43 1; +#X connect 42 1 44 0; +#X connect 43 0 45 0; +#X connect 44 0 50 0; +#X connect 46 0 48 0; +#X connect 47 0 46 1; +#X connect 48 0 32 0; +#X connect 49 0 36 0; +#X connect 50 0 43 0; |