#P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 887 481 46 9109513 pack i i 0; #P comment 937 483 20 9109513 off; #P newex 792 355 27 9109513 + 1; #P number 877 388 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P number 792 388 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P comment 839 389 35 9109513 subrow; #P newex 877 354 27 9109513 + 1; #P newex 877 332 27 9109513 % 8; #P newex 792 333 27 9109513 / 8; #P comment 792 114 159 9109513 3) INVERTED row sequence; #P newex 846 159 61 9109513 loadmess 15; #P newex 792 159 27 9109513 t i b; #P newex 820 265 27 9109513 1; #P newex 792 231 32 9109513 metro; #P toggle 792 134 15 0; #P number 846 193 40 9 0 0 1 139 0 0 0 221 221 221 222 222 222 0 0 0; #P button 792 265 15 0; #N counter 1 64; #X flags 0 0; #P newobj 792 303 66 9109513 counter 1 64; #P newex 792 482 56 9109513 pack i i 255; #P newex 792 601 66 9109513 s to_stribe; #B color 7; #P message 792 538 60 9109513 w f \$1 \$2 \$3; #B color 7; #P comment 743 538 47 9109513 both sides; #P comment 850 483 15 9109513 on; #P comment 757 389 32 9109513 matrix; #P newex 450 470 46 9109513 pack i i 0; #P comment 498 472 20 9109513 off; #P newex 530 344 27 9109513 + 1; #P number 615 377 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P number 530 377 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P comment 577 378 35 9109513 subrow; #P newex 615 343 27 9109513 + 1; #P newex 615 321 27 9109513 % 8; #P newex 530 322 27 9109513 / 8; #P newex 260 192 56 9109513 loadmess 1; #P newex 434 50 61 9109513 loadmess 50; #P comment 530 103 159 9109513 2) turn this on and watch the line; #P newex 584 148 61 9109513 loadmess 15; #P newex 530 148 27 9109513 t i b; #P newex 558 254 27 9109513 1; #P newex 530 220 32 9109513 metro; #P toggle 530 123 15 0; #P number 584 182 40 9 0 0 1 139 0 0 0 221 221 221 222 222 222 0 0 0; #P button 530 254 15 0; #N counter 1 64; #X flags 0 0; #P newobj 530 292 66 9109513 counter 1 64; #P newex 530 471 56 9109513 pack i i 255; #P newex 530 590 66 9109513 s to_stribe; #B color 7; #P message 530 527 60 9109513 w f \$1 \$2 \$3; #B color 7; #P newex 283 287 73 9109513 s from_stribe; #P message 328 222 47 9109513 clear all; #P comment 374 168 72 9109513 poll rate (ms); #B color 7; #P number 337 167 35 9 10 0 1 139 0 0 0 221 221 221 222 222 222 0 0 0; #P comment 345 144 91 9109513 read analog inputs; #B color 7; #P toggle 328 143 15 0; #P toggle 328 194 15 0; #P comment 345 195 122 9109513 toggle firmware cursor; #B color 7; #P message 300 123 123 9109513 refresh serial port list; #P window setfont Verdana 10.; #P user ubumenu 127 121 166 12845066 0 1 1 0; #X setrgb 0 0 0 255 255 255 157 157 157 4 4 4 141 141 141 112 112 112; #X add port COM1; #X add port COM2; #X add port COM17; #X prefix_set 0 0 0; #P window setfont "Sans Serif" 9.; #N vpatcher 28 44 868 600; #P window setfont "Sans Serif" 9.; #P newex 434 279 60 9109513 r to_stribe; #P comment 409 468 70 9109513 8 touchstrips; #P comment 145 468 111 9109513 to serial port ubumenu; #P comment 24 51 102 9109513 from serial ubumenu; #P comment 225 51 100 9109513 refresh serial ports; #P comment 409 51 60 9109513 read inputs; #P button 753 112 15 0; #N comlet (anything) clear all; #P inlet 753 51 15 0; #P comment 770 51 47 9109513 clear all; #N comlet (anything) refresh serial port list; #P inlet 208 51 15 0; #N comlet (0/1) read analog inputs off/on; #P inlet 392 51 15 0; #N comlet (int) analog input poll rate ms - default 10; #P inlet 485 51 15 0; #N comlet (0/1) toggle stribe firmware cursor; #P inlet 611 51 15 0; #N comlet (list) 8 stribe touchstrip values 0-1023; #P outlet 392 468 15 0; #N comlet (message) to serial port ubumenu; #P outlet 128 468 15 0; #N comlet (message) from serial port ubumenu; #P inlet 128 51 15 0; #P button 208 112 15 0; #N vpatcher 10 59 138 223; #P outlet 14 68 15 0; #P inlet 14 33 15 0; #P connect 0 0 1 0; #P pop; #P newobj 208 220 37 9109513 p thru; #P newex 45 220 78 9109513 prepend append; #P newex 45 193 67 9109513 prepend port; #P newex 45 139 56 9109513 route port; #P newex 237 112 49 9109513 pipe 250; #P newex 237 85 27 9109513 1; #P newex 208 139 65 9109513 t print clear; #P newex 45 166 47 9109513 zl iter 1; #P message 611 139 49 9109513 w p \$1; #B color 7; #P comment 628 51 116 9109513 toggle firmware cursor; #B color 7; #P message 753 139 22 9109513 w c; #B color 7; #P message 434 139 18 9109513 10; #P comment 445 193 48 9109513 poll rate; #P newex 392 193 52 9109513 metro 10; #N vpatcher 10 59 403 327; #P outlet 21 192 15 0; #P inlet 21 30 15 0; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 21 147 64 9109513 fromsymbol; #P newex 21 57 53 9109513 sel 10 13; #P newex 42 91 61 9109513 zl group 64; #P newex 42 117 151 9109513 itoa; #P comment 49 193 307 9109513 http://www.arduino.cc/playground/Code/ SimpleMessageSystem; #P window linecount 0; #P comment 49 179 175 9109513 from Arduino SimpleMessageSystem; #P connect 6 0 4 0; #P fasten 2 0 5 0 47 140 26 140; #P connect 5 0 7 0; #P connect 4 1 3 0; #P fasten 4 2 3 0 68 82 47 82; #P connect 3 0 2 0; #P pop; #P newobj 392 414 102 9109513 p asciimessage2max; #N vpatcher 10 59 403 327; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P comment 49 194 307 9109513 http://www.arduino.cc/playground/Code/ SimpleMessageSystem; #P outlet 27 192 15 0; #P inlet 27 43 15 0; #P message 27 129 18 9109513 13; #P newex 27 75 27 9109513 t b l; #P newex 54 129 27 9109513 spell; #P window linecount 0; #P comment 49 180 175 9109513 from Arduino SimpleMessageSystem; #P connect 4 0 2 0; #P connect 2 0 3 0; #P connect 3 0 5 0; #P fasten 1 0 5 0 59 169 32 169; #P fasten 2 1 1 0 49 110 59 110; #P pop; #P newobj 392 321 102 9109513 p max2asciimessage; #P newex 392 441 42 9109513 route a; #P message 392 220 21 9109513 r a; #P toggle 328 193 15 0; #P newex 328 51 48 9109513 loadbang; #P newex 328 220 46 9109513 metro 1; #P newex 392 357 110 9109513 serial a 115200 8 1 0; #P comment 413 220 95 9109513 Read analog inputs.; #P comment 502 51 64 9109513 poll rate ms; #P fasten 2 1 20 0 497 393 25 393 25 122 50 122; #P lcolor 1; #P connect 20 0 16 0; #P connect 16 0 21 0; #P connect 21 0 22 0; #P fasten 17 1 26 0 268 311 133 311; #P fasten 22 0 26 0 50 256 133 256; #P connect 31 0 24 0; #P connect 24 0 17 0; #P fasten 19 0 17 0 242 134 213 134; #P fasten 25 0 23 0 133 175 213 175; #P connect 17 0 23 0; #P fasten 4 0 18 0 333 78 242 78; #P lcolor 10; #P connect 18 0 19 0; #P connect 4 0 5 0; #P lcolor 10; #P connect 5 0 3 0; #P connect 30 0 10 0; #P connect 10 0 6 0; #P fasten 15 0 8 0 616 256 397 256; #P connect 6 0 8 0; #P fasten 13 0 8 0 758 256 397 256; #P connect 40 0 8 0; #P connect 3 0 2 0; #P connect 23 0 2 0; #P connect 8 0 2 0; #P connect 2 0 9 0; #P connect 9 0 7 0; #P connect 7 0 27 0; #P fasten 4 0 12 0 333 78 439 78; #P lcolor 10; #P connect 12 0 10 1; #P fasten 29 0 10 1 490 175 439 175; #P connect 28 0 15 0; #P connect 33 0 34 0; #P connect 34 0 13 0; #P pop; #P newobj 205 250 88 9109513 p stribe_io; #P button 265 287 15 0; #P comment 481 527 47 9109513 both sides; #P comment 142 103 234 9109513 1) set your stribe port and turn off cursor preset; #P comment 588 472 15 9109513 on; #P comment 499 52 324 9109513 this is not an acceptable poll rate but anything lower interferes with the line; #P comment 495 378 32 9109513 matrix; #P window linecount 7; #P comment 174 343 188 9109513 Turning on analog inputs interferes with the sequences. It's interesting to note that the amount of interference depends on the poll rate setting. Turning this up very high \, like to 1000 ms \, shows you what is happening. Each time the analog read happens \, the sequence drops a row.; #P fasten 7 0 8 0 210 277 109 277 109 108 132 108; #P connect 8 1 7 0; #P fasten 9 0 7 1 305 148 225 148; #P fasten 12 0 7 2 333 162 240 162; #P fasten 14 0 7 3 342 188 255 188; #P fasten 11 0 7 4 333 216 270 216; #P connect 7 1 6 0; #P fasten 16 0 7 5 333 244 285 244; #P connect 7 1 17 0; #P fasten 31 0 11 0 263 211 320 211 320 191 333 191; #P fasten 30 0 14 0 439 161 342 161; #P connect 36 0 40 0; #P connect 37 0 40 1; #P connect 24 0 27 0; #P connect 27 0 25 0; #P connect 25 0 22 0; #P connect 22 0 21 0; #P lcolor 12; #P connect 21 0 32 0; #P connect 32 0 38 0; #P connect 38 0 36 0; #P connect 36 0 20 0; #P connect 40 0 18 0; #P fasten 20 0 18 0 535 554 535 554; #P fasten 18 0 19 0 535 580 535 580; #P connect 23 0 25 1; #P connect 37 0 20 1; #P connect 26 0 21 2; #P connect 28 0 23 0; #P lcolor 1; #P connect 21 0 33 0; #P connect 33 0 34 0; #P connect 34 0 37 0; #P connect 50 0 53 0; #P connect 53 0 51 0; #P connect 51 0 48 0; #P connect 48 0 47 0; #P lcolor 12; #P connect 47 0 56 0; #P connect 56 0 62 0; #P connect 62 0 60 0; #P connect 60 0 46 0; #P fasten 46 0 44 0 797 565 797 565; #P connect 64 0 44 0; #P fasten 44 0 45 0 797 591 797 591; #P connect 49 0 51 1; #P connect 61 0 46 1; #P connect 52 0 47 2; #P connect 54 0 49 0; #P lcolor 1; #P connect 47 0 57 0; #P connect 57 0 58 0; #P connect 58 0 61 0; #P connect 60 0 64 0; #P connect 61 0 64 1; #P window clipboard copycount 65;