{ "patcher" : { "fileversion" : 1, "rect" : [ 237.0, 44.0, 1203.0, 765.0 ], "bglocked" : 0, "defrect" : [ 237.0, 44.0, 1203.0, 765.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "boxes" : [ { "box" : { "maxclass" : "comment", "text" : "oscuino\n\nDisplay pin state for Arduino and related microcontrollers\nas reported by OSC 1.1 slip wrapped serial USB messages\n\nCopyright 2009 Adrian Freed.\nAll Rights Reserved", "linecount" : 7, "fontname" : "Arial", "patching_rect" : [ 306.0, 118.0, 330.0, 103.0 ], "numinlets" : 1, "id" : "obj-43", "numoutlets" : 0, "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "uncalibrated", "fontname" : "Arial", "patching_rect" : [ 534.0, 417.0, 150.0, 20.0 ], "numinlets" : 1, "id" : "obj-40", "numoutlets" : 0, "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "Volts", "fontname" : "Arial", "patching_rect" : [ 663.0, 417.0, 150.0, 20.0 ], "numinlets" : 1, "id" : "obj-37", "numoutlets" : 0, "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "microseconds", "fontname" : "Arial", "patching_rect" : [ 783.0, 415.0, 150.0, 20.0 ], "numinlets" : 1, "id" : "obj-34", "numoutlets" : 0, "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "pullups", "fontname" : "Arial", "patching_rect" : [ 574.0, 449.0, 150.0, 20.0 ], "numinlets" : 1, "id" : "obj-32", "numoutlets" : 0, "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "digital pins no pullups", "fontname" : "Arial", "patching_rect" : [ 406.0, 446.0, 150.0, 20.0 ], "numinlets" : 1, "id" : "obj-24", "numoutlets" : 0, "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "pullups", "fontname" : "Arial", "patching_rect" : [ 235.0, 438.0, 150.0, 20.0 ], "numinlets" : 1, "id" : "obj-13", "numoutlets" : 0, "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "adc no pullups", "fontname" : "Arial", "patching_rect" : [ 77.0, 436.0, 150.0, 20.0 ], "numinlets" : 1, "id" : "obj-4", "numoutlets" : 0, "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", "text" : "notice on the teensy 2.0 the penultimate adc value seems stuck:\nStrangely the led is wired to that one!", "linecount" : 5, "fontname" : "Arial", "patching_rect" : [ 96.0, 642.0, 172.0, 75.0 ], "numinlets" : 1, "id" : "obj-2", "numoutlets" : 0, "fontsize" : 12.0 } } , { "box" : { "maxclass" : "number", "fontname" : "Arial", "patching_rect" : [ 778.0, 391.0, 93.0, 20.0 ], "numinlets" : 1, "id" : "obj-7", "numoutlets" : 2, "fontsize" : 12.0, "outlettype" : [ "int", "bang" ] } } , { "box" : { "maxclass" : "multislider", "patching_rect" : [ 214.0, 466.0, 172.0, 163.0 ], "numinlets" : 1, "setminmax" : [ 0.0, 1.0 ], "id" : "obj-10", "numoutlets" : 2, "size" : 12, "orientation" : 0, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "radiogroup", "flagmode" : 1, "patching_rect" : [ 572.0, 485.0, 103.0, 514.0 ], "numinlets" : 1, "id" : "obj-9", "numoutlets" : 1, "outlettype" : [ "" ], "itemtype" : 1, "size" : 32, "values" : [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "disabled" : [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] } } , { "box" : { "maxclass" : "radiogroup", "flagmode" : 1, "patching_rect" : [ 406.0, 474.0, 103.0, 514.0 ], "numinlets" : 1, "id" : "obj-74", "numoutlets" : 1, "outlettype" : [ "" ], "itemtype" : 1, "size" : 32, "values" : [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "disabled" : [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] } } , { "box" : { "maxclass" : "flonum", "fontname" : "Arial", "patching_rect" : [ 544.0, 394.0, 90.0, 20.0 ], "numinlets" : 1, "id" : "obj-6", "numoutlets" : 2, "fontsize" : 12.0, "outlettype" : [ "float", "bang" ] } } , { "box" : { "maxclass" : "flonum", "fontname" : "Arial", "patching_rect" : [ 663.0, 391.0, 90.0, 20.0 ], "numinlets" : 1, "id" : "obj-5", "numoutlets" : 2, "fontsize" : 12.0, "outlettype" : [ "float", "bang" ] } } , { "box" : { "maxclass" : "number", "fontname" : "Arial", "patching_rect" : [ 1374.0, 518.0, 50.0, 20.0 ], "numinlets" : 1, "id" : "obj-47", "numoutlets" : 2, "fontsize" : 12.0, "outlettype" : [ "int", "bang" ] } } , { "box" : { "maxclass" : "newobj", "text" : "opensoundcontrol", "fontname" : "Arial", "patching_rect" : [ 94.0, 339.0, 106.0, 20.0 ], "numinlets" : 1, "id" : "obj-39", "numoutlets" : 3, "fontsize" : 12.0, "outlettype" : [ "", "", "OSCTimeTag" ] } } , { "box" : { "maxclass" : "multislider", "patching_rect" : [ 27.0, 465.0, 172.0, 163.0 ], "numinlets" : 1, "setminmax" : [ 0.0, 1.0 ], "id" : "obj-35", "numoutlets" : 2, "size" : 12, "orientation" : 0, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "OSC-route /analog /up/analog /digital /up/digital /temperature /power /microseconds", "fontname" : "Arial", "patching_rect" : [ 90.0, 363.0, 811.0, 20.0 ], "numinlets" : 1, "id" : "obj-31", "numoutlets" : 8, "fontsize" : 12.0, "outlettype" : [ "", "", "", "", "", "", "", "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "t 1 b b b", "fontname" : "Arial", "patching_rect" : [ 210.0, 131.0, 53.0, 17.0 ], "numinlets" : 1, "id" : "obj-11", "numoutlets" : 4, "fontsize" : 9.0, "outlettype" : [ "int", "bang", "bang", "bang" ] } } , { "box" : { "maxclass" : "message", "text" : "bufsize 2048, chunk 512, baud 57600", "fontname" : "Arial", "patching_rect" : [ 254.0, 238.0, 166.0, 15.0 ], "numinlets" : 2, "id" : "obj-12", "numoutlets" : 1, "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "prepend port", "fontname" : "Arial", "patching_rect" : [ 213.0, 190.0, 67.0, 17.0 ], "numinlets" : 1, "id" : "obj-15", "numoutlets" : 1, "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "patcherargs", "fontname" : "Arial", "patching_rect" : [ 213.0, 169.0, 64.0, 17.0 ], "numinlets" : 1, "id" : "obj-16", "numoutlets" : 2, "fontsize" : 9.0, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "loadbang", "fontname" : "Arial", "patching_rect" : [ 210.0, 106.0, 48.0, 17.0 ], "numinlets" : 1, "id" : "obj-17", "numoutlets" : 1, "fontsize" : 9.0, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "number", "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "fontname" : "Arial", "patching_rect" : [ 295.0, 333.0, 110.0, 17.0 ], "numinlets" : 1, "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], "id" : "obj-19", "triscale" : 0.9, "numoutlets" : 2, "fontsize" : 9.0, "outlettype" : [ "int", "bang" ] } } , { "box" : { "maxclass" : "number", "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "fontname" : "Arial", "patching_rect" : [ 387.0, 307.0, 107.0, 17.0 ], "numinlets" : 1, "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], "id" : "obj-20", "triscale" : 0.9, "numoutlets" : 2, "fontsize" : 9.0, "outlettype" : [ "int", "bang" ] } } , { "box" : { "maxclass" : "newobj", "text" : "counter", "fontname" : "Arial", "patching_rect" : [ 297.0, 308.0, 66.0, 17.0 ], "numinlets" : 5, "id" : "obj-21", "numoutlets" : 4, "fontsize" : 9.0, "outlettype" : [ "int", "", "", "int" ] } } , { "box" : { "maxclass" : "newobj", "text" : "select 0", "fontname" : "Arial", "patching_rect" : [ 335.0, 283.0, 46.0, 17.0 ], "numinlets" : 2, "id" : "obj-22", "numoutlets" : 2, "fontsize" : 9.0, "outlettype" : [ "bang", "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "route read", "fontname" : "Arial", "patching_rect" : [ 334.0, 261.0, 57.0, 17.0 ], "numinlets" : 1, "id" : "obj-23", "numoutlets" : 2, "fontsize" : 9.0, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "toggle", "patching_rect" : [ 144.0, 175.0, 15.0, 15.0 ], "numinlets" : 1, "id" : "obj-25", "numoutlets" : 1, "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "newobj", "text" : "metro 4", "fontname" : "Arial", "patching_rect" : [ 239.0, 217.0, 41.0, 17.0 ], "numinlets" : 2, "id" : "obj-26", "numoutlets" : 1, "fontsize" : 9.0, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "newobj", "text" : "slipOSC", "fontname" : "Arial", "patching_rect" : [ 113.0, 285.0, 99.0, 17.0 ], "numinlets" : 2, "id" : "obj-27", "numoutlets" : 3, "fontsize" : 9.0, "outlettype" : [ "", "", "OSCTimeTag" ] } } , { "box" : { "maxclass" : "message", "text" : "print", "fontname" : "Arial", "patching_rect" : [ 180.0, 230.0, 32.0, 15.0 ], "numinlets" : 2, "id" : "obj-28", "numoutlets" : 1, "fontsize" : 9.0, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "serial a", "fontname" : "Arial", "patching_rect" : [ 207.0, 263.0, 44.0, 17.0 ], "numinlets" : 1, "id" : "obj-29", "numoutlets" : 2, "fontsize" : 9.0, "outlettype" : [ "int", "" ] } } ], "lines" : [ { "patchline" : { "source" : [ "obj-25", 0 ], "destination" : [ "obj-26", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-29", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-29", 0 ], "destination" : [ "obj-27", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-29", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-15", 0 ], "destination" : [ "obj-29", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-28", 0 ], "destination" : [ "obj-29", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-27", 1 ], "destination" : [ "obj-29", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-19", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-29", 1 ], "destination" : [ "obj-23", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-23", 0 ], "destination" : [ "obj-22", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-22", 1 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 3 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-25", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-11", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-16", 0 ], "destination" : [ "obj-15", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 2 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-27", 0 ], "destination" : [ "obj-39", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-31", 6 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-31", 5 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-31", 0 ], "destination" : [ "obj-35", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-39", 1 ], "destination" : [ "obj-31", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-31", 4 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-31", 2 ], "destination" : [ "obj-74", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-31", 3 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-31", 1 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } }