|
@@ -1,16 +1,14 @@
|
|
|
#N canvas 952 55 958 984 10;
|
|
|
-#N canvas 299 154 782 472 SerialOSC 0;
|
|
|
+#N canvas 605 252 1054 472 SerialOSC 1;
|
|
|
#X obj 99 6 inlet;
|
|
|
#X obj 99 332 outlet;
|
|
|
#X obj 99 200 comport;
|
|
|
-#X obj 301 279 print errors;
|
|
|
+#X obj 329 264 print errors;
|
|
|
#X msg 590 173 devices;
|
|
|
#X obj 112 299 s /fromOSC;
|
|
|
#X obj 122 49 r /toOSC;
|
|
|
-#X obj 368 52 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
|
|
|
-1;
|
|
|
-#X obj 368 72 route 0 1;
|
|
|
-#X msg 368 134 close;
|
|
|
+#X obj 429 50 route 0 1;
|
|
|
+#X msg 429 132 close;
|
|
|
#X obj 59 391 mrpeach/unpackOSC;
|
|
|
#X obj 99 231 mrpeach/slipdec 65536;
|
|
|
#X obj 99 261 mrpeach/unpackOSC;
|
|
@@ -23,26 +21,31 @@
|
|
|
#X obj 257 375 print;
|
|
|
#X obj 238 290 route 13 10;
|
|
|
#X obj 253 321 list fromsymbol;
|
|
|
-#X msg 398 112 devicename /dev/ttyACM0 \, baud 115200 \, pollintervall
|
|
|
-1 \, verbose 1;
|
|
|
-#X connect 0 0 13 0;
|
|
|
-#X connect 0 0 17 0;
|
|
|
-#X connect 2 0 11 0;
|
|
|
+#X obj 429 31 r serialConnect;
|
|
|
+#X obj 540 58 r serialDevice;
|
|
|
+#X obj 462 80 symbol;
|
|
|
+#X msg 459 110 devicename \$1 \, baud 115200 \, pollintervall 1 \,
|
|
|
+verbose 1;
|
|
|
+#X connect 0 0 12 0;
|
|
|
+#X connect 0 0 16 0;
|
|
|
+#X connect 2 0 10 0;
|
|
|
#X connect 2 1 3 0;
|
|
|
#X connect 4 0 2 0;
|
|
|
-#X connect 6 0 13 0;
|
|
|
+#X connect 6 0 12 0;
|
|
|
#X connect 7 0 8 0;
|
|
|
-#X connect 8 0 9 0;
|
|
|
-#X connect 8 1 20 0;
|
|
|
-#X connect 9 0 2 0;
|
|
|
-#X connect 11 0 12 0;
|
|
|
-#X connect 12 0 1 0;
|
|
|
-#X connect 12 0 5 0;
|
|
|
-#X connect 13 0 14 0;
|
|
|
+#X connect 7 1 21 0;
|
|
|
+#X connect 8 0 2 0;
|
|
|
+#X connect 10 0 11 0;
|
|
|
+#X connect 11 0 1 0;
|
|
|
+#X connect 11 0 5 0;
|
|
|
+#X connect 12 0 13 0;
|
|
|
+#X connect 13 0 2 0;
|
|
|
#X connect 14 0 2 0;
|
|
|
-#X connect 15 0 2 0;
|
|
|
-#X connect 19 0 17 0;
|
|
|
-#X connect 20 0 2 0;
|
|
|
+#X connect 18 0 16 0;
|
|
|
+#X connect 19 0 7 0;
|
|
|
+#X connect 20 0 21 1;
|
|
|
+#X connect 21 0 22 0;
|
|
|
+#X connect 22 0 2 0;
|
|
|
#X coords 0 -1 1 1 85 60 1 300 50;
|
|
|
#X restore 747 137 pd SerialOSC;
|
|
|
#X obj 723 491 print OSCin;
|
|
@@ -118,6 +121,55 @@ bang;
|
|
|
#X restore 157 714 pd syncControl;
|
|
|
#X obj 12 13 kostepper 0;
|
|
|
#X obj 12 362 kostepper 1;
|
|
|
+#N canvas 13 362 637 633 settings 0;
|
|
|
+#X obj 100 100 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
|
|
|
+-1 -1;
|
|
|
+#X obj 100 178 text define -k settings;
|
|
|
+#A set accLimit 1.5 \; speedLimit 1 \; microstepping 4 \; serialDevice
|
|
|
+/dev/ttyACM1 \;;
|
|
|
+#X msg 100 150 click;
|
|
|
+#X obj 417 249 r accLimit;
|
|
|
+#X floatatom 417 270 5 0 0 0 - - -, f 5;
|
|
|
+#X floatatom 405 350 5 0 0 0 - - -, f 5;
|
|
|
+#X obj 405 329 r speedLimit;
|
|
|
+#X floatatom 410 413 5 0 0 0 - - -, f 5;
|
|
|
+#X obj 410 392 r microstepping;
|
|
|
+#X symbolatom 407 492 40 0 0 0 - - -, f 40;
|
|
|
+#X obj 229 203 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
|
|
|
+-1 -1;
|
|
|
+#X msg 229 223 line 0 \, bang;
|
|
|
+#X obj 261 356 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
|
|
|
+-1 -1;
|
|
|
+#X obj 229 242 text sequence settings -g;
|
|
|
+#X obj 407 444 r serialDevice;
|
|
|
+#X obj 407 465 symbol;
|
|
|
+#X msg 226 150 write ./settings;
|
|
|
+#X obj 231 33 loadbang;
|
|
|
+#X msg 258 77 read./settings;
|
|
|
+#X obj 231 54 t b b;
|
|
|
+#X obj 100 115 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
|
|
|
+-1 -1;
|
|
|
+#X text 118 114 reload;
|
|
|
+#X connect 0 0 2 0;
|
|
|
+#X connect 1 1 16 0;
|
|
|
+#X connect 1 1 10 0;
|
|
|
+#X connect 2 0 1 0;
|
|
|
+#X connect 3 0 4 0;
|
|
|
+#X connect 6 0 5 0;
|
|
|
+#X connect 8 0 7 0;
|
|
|
+#X connect 10 0 11 0;
|
|
|
+#X connect 11 0 13 0;
|
|
|
+#X connect 13 1 12 0;
|
|
|
+#X connect 14 0 15 0;
|
|
|
+#X connect 15 0 9 0;
|
|
|
+#X connect 16 0 1 0;
|
|
|
+#X connect 17 0 19 0;
|
|
|
+#X connect 18 0 1 0;
|
|
|
+#X connect 19 0 11 0;
|
|
|
+#X connect 19 1 18 0;
|
|
|
+#X connect 20 0 19 0;
|
|
|
+#X coords 0 -1 1 1 85 30 1 100 100;
|
|
|
+#X restore 776 67 pd settings;
|
|
|
#X connect 2 0 3 0;
|
|
|
#X connect 3 0 4 0;
|
|
|
#X connect 3 1 5 0;
|