diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-07 18:53:46 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-07 18:53:46 +0000 |
commit | e9c11fa94d20a3e5897cb3a399291006bb42f353 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 | |
parent | feb5abbe31a814a0b982c2235071fc94385363cf (diff) |
named Pduino library actuall 'pduino' while keeping the object called [arduino]svn2git-head.0externals/arduino
svn path=/trunk/externals/arduino/; revision=16347
-rw-r--r-- | LICENSE.txt | 676 | ||||
-rw-r--r-- | Makefile | 439 | ||||
-rw-r--r-- | README.txt | 24 | ||||
-rw-r--r-- | arduino-help.pd | 564 | ||||
-rw-r--r-- | arduino-meta.pd | 6 | ||||
-rw-r--r-- | arduino-stress-test.pd | 106 | ||||
-rw-r--r-- | arduino-test.pd | 985 | ||||
-rw-r--r-- | arduino.pd | 999 | ||||
-rw-r--r-- | arduinomega-test.pd | 1399 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 31 | ||||
-rw-r--r-- | debian/copyright | 23 | ||||
-rw-r--r-- | debian/gbp.conf | 7 | ||||
-rw-r--r-- | debian/links | 3 | ||||
-rwxr-xr-x | debian/rules | 17 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/source/local-options | 2 | ||||
-rw-r--r-- | debian/watch | 2 | ||||
-rw-r--r-- | examples/LED-lighting-fade.pd | 80 | ||||
-rw-r--r-- | examples/simple_input.pd | 20 | ||||
-rwxr-xr-x | make-release.sh | 47 | ||||
-rw-r--r-- | wiring-test.pd | 1277 |
23 files changed, 0 insertions, 6714 deletions
diff --git a/LICENSE.txt b/LICENSE.txt deleted file mode 100644 index 4432540..0000000 --- a/LICENSE.txt +++ /dev/null @@ -1,676 +0,0 @@ - - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (C) <year> <name of author> - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<http://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<http://www.gnu.org/philosophy/why-not-lgpl.html>. - diff --git a/Makefile b/Makefile deleted file mode 100644 index a0700f8..0000000 --- a/Makefile +++ /dev/null @@ -1,439 +0,0 @@ -## Pd library template version 1.0.13 -# For instructions on how to use this template, see: -# http://puredata.info/docs/developer/MakefileTemplate -LIBRARY_NAME = arduino - -# add your .c source files, one object per file, to the SOURCES -# variable, help files will be included automatically, and for GUI -# objects, the matching .tcl file too -SOURCES = - -# list all pd objects (i.e. myobject.pd) files here, and their helpfiles will -# be included automatically -PDOBJECTS = arduino.pd - -# example patches and related files, in the 'examples' subfolder -EXAMPLES = LED-lighting-fade.pd simple_input.pd - -# manuals and related files, in the 'manual' subfolder -MANUAL = - -# if you want to include any other files in the source and binary tarballs, -# list them here. This can be anything from header files, test patches, -# documentation, etc. README.txt and LICENSE.txt are required and therefore -# automatically included -EXTRA_DIST = arduinomega-test.pd arduino-stress-test.pd arduino-test.pd - -# unit tests and related files here, in the 'unittests' subfolder -UNITTESTS = - - - -#------------------------------------------------------------------------------# -# -# things you might need to edit if you are using other C libraries -# -#------------------------------------------------------------------------------# - -ALL_CFLAGS = -I"$(PD_INCLUDE)" -ALL_LDFLAGS = -SHARED_LDFLAGS = -ALL_LIBS = - - -#------------------------------------------------------------------------------# -# -# you shouldn't need to edit anything below here, if we did it right :) -# -#------------------------------------------------------------------------------# - -# these can be set from outside without (usually) breaking the build -CFLAGS = -Wall -W -g -LDFLAGS = -LIBS = - -# get library version from meta file -LIBRARY_VERSION = $(shell sed -n 's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' $(LIBRARY_NAME)-meta.pd) - -ALL_CFLAGS += -DPD -DVERSION='"$(LIBRARY_VERSION)"' - -PD_INCLUDE = $(PD_PATH)/include/pd -# where to install the library, overridden below depending on platform -prefix = /usr/local -libdir = $(prefix)/lib -pkglibdir = $(libdir)/pd-externals -objectsdir = $(pkglibdir) - -INSTALL = install -INSTALL_PROGRAM = $(INSTALL) -p -m 644 -INSTALL_DATA = $(INSTALL) -p -m 644 -INSTALL_DIR = $(INSTALL) -p -m 755 -d - -ALLSOURCES := $(SOURCES) $(SOURCES_android) $(SOURCES_cygwin) $(SOURCES_macosx) \ - $(SOURCES_iphoneos) $(SOURCES_linux) $(SOURCES_windows) - -DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION) -ORIGDIR=pd-$(LIBRARY_NAME:~=)_$(LIBRARY_VERSION) - -UNAME := $(shell uname -s) -ifeq ($(UNAME),Darwin) - CPU := $(shell uname -p) - ifeq ($(CPU),arm) # iPhone/iPod Touch - SOURCES += $(SOURCES_iphoneos) - EXTENSION = pd_darwin - SHARED_EXTENSION = dylib - OS = iphoneos - PD_PATH = /Applications/Pd-extended.app/Contents/Resources - IPHONE_BASE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin - CC=$(IPHONE_BASE)/gcc - CPP=$(IPHONE_BASE)/cpp - CXX=$(IPHONE_BASE)/g++ - ISYSROOT = -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk - IPHONE_CFLAGS = -miphoneos-version-min=3.0 $(ISYSROOT) -arch armv6 - OPT_CFLAGS = -fast -funroll-loops -fomit-frame-pointer - ALL_CFLAGS := $(IPHONE_CFLAGS) $(ALL_CFLAGS) - ALL_LDFLAGS += -arch armv6 -bundle -undefined dynamic_lookup $(ISYSROOT) - SHARED_LDFLAGS += -arch armv6 -dynamiclib -undefined dynamic_lookup $(ISYSROOT) - ALL_LIBS += -lc $(LIBS_iphoneos) - STRIP = strip -x - DISTBINDIR=$(DISTDIR)-$(OS) - else # Mac OS X - SOURCES += $(SOURCES_macosx) - EXTENSION = pd_darwin - SHARED_EXTENSION = dylib - OS = macosx - PD_PATH = /Applications/Pd-extended.app/Contents/Resources - OPT_CFLAGS = -ftree-vectorize -ftree-vectorizer-verbose=2 -fast -# build universal 32-bit on 10.4 and 32/64 on newer - ifeq ($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8) - FAT_FLAGS = -arch ppc -arch i386 -mmacosx-version-min=10.4 - else - FAT_FLAGS = -arch ppc -arch i386 -arch x86_64 -mmacosx-version-min=10.4 - SOURCES += $(SOURCES_iphoneos) - endif - ALL_CFLAGS += $(FAT_FLAGS) -fPIC -I/sw/include - # if the 'pd' binary exists, check the linking against it to aid with stripping - BUNDLE_LOADER = $(shell test ! -e $(PD_PATH)/bin/pd || echo -bundle_loader $(PD_PATH)/bin/pd) - ALL_LDFLAGS += $(FAT_FLAGS) -headerpad_max_install_names -bundle $(BUNDLE_LOADER) \ - -undefined dynamic_lookup -L/sw/lib - SHARED_LDFLAGS += $(FAT_FLAGS) -dynamiclib -undefined dynamic_lookup \ - -install_name @loader_path/$(SHARED_LIB) -compatibility_version 1 -current_version 1.0 - ALL_LIBS += -lc $(LIBS_macosx) - STRIP = strip -x - DISTBINDIR=$(DISTDIR)-$(OS) -# install into ~/Library/Pd on Mac OS X since /usr/local isn't used much - pkglibdir=$(HOME)/Library/Pd - endif -endif -# Tho Android uses Linux, we use this fake uname to provide an easy way to -# setup all this things needed to cross-compile for Android using the NDK -ifeq ($(UNAME),ANDROID) - CPU := arm - SOURCES += $(SOURCES_android) - EXTENSION = pd_linux - SHARED_EXTENSION = so - OS = android - PD_PATH = /usr - NDK_BASE := /usr/local/android-ndk - NDK_PLATFORM_VERSION := 5 - NDK_SYSROOT=$(NDK_BASE)/platforms/android-$(NDK_PLATFORM_VERSION)/arch-arm - NDK_UNAME := $(shell uname -s | tr '[A-Z]' '[a-z]') - NDK_TOOLCHAIN_BASE=$(NDK_BASE)/toolchains/arm-linux-androideabi-4.4.3/prebuilt/$(NDK_UNAME)-x86 - CC := $(NDK_TOOLCHAIN_BASE)/bin/arm-linux-androideabi-gcc --sysroot=$(NDK_SYSROOT) - OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer - CFLAGS += - LDFLAGS += -rdynamic -shared - SHARED_LDFLAGS += -Wl,-soname,$(SHARED_LIB) -shared - LIBS += -lc $(LIBS_android) - STRIP := $(NDK_TOOLCHAIN_BASE)/bin/arm-linux-androideabi-strip \ - --strip-unneeded -R .note -R .comment - DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) -endif -ifeq ($(UNAME),Linux) - CPU := $(shell uname -m) - SOURCES += $(SOURCES_linux) - EXTENSION = pd_linux - SHARED_EXTENSION = so - OS = linux - PD_PATH = /usr - OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer - ALL_CFLAGS += -fPIC - ALL_LDFLAGS += -rdynamic -shared -fPIC -Wl,-rpath,"\$$ORIGIN",--enable-new-dtags - SHARED_LDFLAGS += -Wl,-soname,$(SHARED_LIB) -shared - ALL_LIBS += -lc $(LIBS_linux) - STRIP = strip --strip-unneeded -R .note -R .comment - DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) -endif -ifeq ($(UNAME),GNU) - # GNU/Hurd, should work like GNU/Linux for basically all externals - CPU := $(shell uname -m) - SOURCES += $(SOURCES_linux) - EXTENSION = pd_linux - SHARED_EXTENSION = so - OS = linux - PD_PATH = /usr - OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer - ALL_CFLAGS += -fPIC - ALL_LDFLAGS += -rdynamic -shared -fPIC -Wl,-rpath,"\$$ORIGIN",--enable-new-dtags - SHARED_LDFLAGS += -shared -Wl,-soname,$(SHARED_LIB) - ALL_LIBS += -lc $(LIBS_linux) - STRIP = strip --strip-unneeded -R .note -R .comment - DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) -endif -ifeq ($(UNAME),GNU/kFreeBSD) - # Debian GNU/kFreeBSD, should work like GNU/Linux for basically all externals - CPU := $(shell uname -m) - SOURCES += $(SOURCES_linux) - EXTENSION = pd_linux - SHARED_EXTENSION = so - OS = linux - PD_PATH = /usr - OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer - ALL_CFLAGS += -fPIC - ALL_LDFLAGS += -rdynamic -shared -fPIC -Wl,-rpath,"\$$ORIGIN",--enable-new-dtags - SHARED_LDFLAGS += -shared -Wl,-soname,$(SHARED_LIB) - ALL_LIBS += -lc $(LIBS_linux) - STRIP = strip --strip-unneeded -R .note -R .comment - DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) -endif -ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME))) - CPU := $(shell uname -m) - SOURCES += $(SOURCES_cygwin) - EXTENSION = dll - SHARED_EXTENSION = dll - OS = cygwin - PD_PATH = $(shell cygpath $$PROGRAMFILES)/pd - OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer - ALL_CFLAGS += - ALL_LDFLAGS += -rdynamic -shared -L"$(PD_PATH)/src" -L"$(PD_PATH)/bin" - SHARED_LDFLAGS += -shared -Wl,-soname,$(SHARED_LIB) - ALL_LIBS += -lc -lpd $(LIBS_cygwin) - STRIP = strip --strip-unneeded -R .note -R .comment - DISTBINDIR=$(DISTDIR)-$(OS) -endif -ifeq (MINGW,$(findstring MINGW,$(UNAME))) - CPU := $(shell uname -m) - SOURCES += $(SOURCES_windows) - EXTENSION = dll - SHARED_EXTENSION = dll - OS = windows - PD_PATH = $(shell cd "$$PROGRAMFILES/pd" && pwd) - # MinGW doesn't seem to include cc so force gcc - CC=gcc - OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer - ALL_CFLAGS += -mms-bitfields - ALL_LDFLAGS += -s -shared -Wl,--enable-auto-import - SHARED_LDFLAGS += -shared - ALL_LIBS += -L"$(PD_PATH)/src" -L"$(PD_PATH)/bin" -L"$(PD_PATH)/obj" \ - -lpd -lwsock32 -lkernel32 -luser32 -lgdi32 -liberty $(LIBS_windows) - STRIP = strip --strip-unneeded -R .note -R .comment - DISTBINDIR=$(DISTDIR)-$(OS) -endif - -# in case somebody manually set the HELPPATCHES above -HELPPATCHES ?= $(SOURCES:.c=-help.pd) $(PDOBJECTS:.pd=-help.pd) - -ALL_CFLAGS := $(ALL_CFLAGS) $(CFLAGS) $(OPT_CFLAGS) -ALL_LDFLAGS := $(LDFLAGS) $(ALL_LDFLAGS) -ALL_LIBS := $(LIBS) $(ALL_LIBS) - -SHARED_SOURCE ?= $(wildcard lib$(LIBRARY_NAME).c) -SHARED_HEADER ?= $(shell test ! -e $(LIBRARY_NAME).h || echo $(LIBRARY_NAME).h) -SHARED_LIB ?= $(SHARED_SOURCE:.c=.$(SHARED_EXTENSION)) -SHARED_TCL_LIB = $(wildcard lib$(LIBRARY_NAME).tcl) - -.PHONY = install libdir_install single_install install-doc install-examples install-manual install-unittests clean distclean dist etags $(LIBRARY_NAME) - -all: $(SOURCES:.c=.$(EXTENSION)) $(SHARED_LIB) - -%.o: %.c - $(CC) $(ALL_CFLAGS) -o "$*.o" -c "$*.c" - -%.$(EXTENSION): %.o $(SHARED_LIB) - $(CC) $(ALL_LDFLAGS) -o "$*.$(EXTENSION)" "$*.o" $(ALL_LIBS) $(SHARED_LIB) - chmod a-x "$*.$(EXTENSION)" - -# this links everything into a single binary file -$(LIBRARY_NAME): $(SOURCES:.c=.o) $(LIBRARY_NAME).o lib$(LIBRARY_NAME).o - $(CC) $(ALL_LDFLAGS) -o $(LIBRARY_NAME).$(EXTENSION) $(SOURCES:.c=.o) \ - $(LIBRARY_NAME).o lib$(LIBRARY_NAME).o $(ALL_LIBS) - chmod a-x $(LIBRARY_NAME).$(EXTENSION) - -$(SHARED_LIB): $(SHARED_SOURCE:.c=.o) - $(CC) $(SHARED_LDFLAGS) -o $(SHARED_LIB) $(SHARED_SOURCE:.c=.o) $(ALL_LIBS) - -install: libdir_install - -# The meta and help files are explicitly installed to make sure they are -# actually there. Those files are not optional, then need to be there. -libdir_install: $(SOURCES:.c=.$(EXTENSION)) $(SHARED_LIB) install-doc install-examples install-manual install-unittests - $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - $(INSTALL_DATA) $(LIBRARY_NAME)-meta.pd \ - $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - test -z "$(strip $(SOURCES))" || (\ - $(INSTALL_PROGRAM) $(SOURCES:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) && \ - $(STRIP) $(addprefix $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/,$(SOURCES:.c=.$(EXTENSION)))) - test -z "$(strip $(SHARED_LIB))" || \ - $(INSTALL_DATA) $(SHARED_LIB) \ - $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - test -z "$(strip $(wildcard $(SOURCES:.c=.tcl)))" || \ - $(INSTALL_DATA) $(wildcard $(SOURCES:.c=.tcl)) \ - $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - test -z "$(strip $(PDOBJECTS))" || \ - $(INSTALL_DATA) $(PDOBJECTS) \ - $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - test -z "$(strip $(SHARED_TCL_LIB))" || \ - $(INSTALL_DATA) $(SHARED_TCL_LIB) \ - $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - -# install library linked as single binary -single_install: $(LIBRARY_NAME) install-doc install-examples install-manual install-unittests - $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - $(INSTALL_PROGRAM) $(LIBRARY_NAME).$(EXTENSION) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - $(STRIP) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/$(LIBRARY_NAME).$(EXTENSION) - -install-doc: - $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - test -z "$(strip $(SOURCES) $(PDOBJECTS))" || \ - $(INSTALL_DATA) $(HELPPATCHES) \ - $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) - $(INSTALL_DATA) README.txt $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/README.txt - $(INSTALL_DATA) LICENSE.txt $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/LICENSE.txt - -install-examples: - test -z "$(strip $(EXAMPLES))" || \ - $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/examples && \ - for file in $(EXAMPLES); do \ - $(INSTALL_DATA) examples/$$file $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/examples; \ - done - -install-manual: - test -z "$(strip $(MANUAL))" || \ - $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/manual && \ - for file in $(MANUAL); do \ - $(INSTALL_DATA) manual/$$file $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/manual; \ - done - -install-unittests: - test -z "$(strip $(UNITTESTS))" || \ - $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/unittests && \ - for file in $(UNITTESTS); do \ - $(INSTALL_DATA) unittests/$$file $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/unittests; \ - done - -clean: - -rm -f -- $(SOURCES:.c=.o) $(SOURCES_LIB:.c=.o) $(SHARED_SOURCE:.c=.o) - -rm -f -- $(SOURCES:.c=.$(EXTENSION)) - -rm -f -- $(LIBRARY_NAME).o - -rm -f -- $(LIBRARY_NAME).$(EXTENSION) - -rm -f -- $(SHARED_LIB) - -distclean: clean - -rm -f -- $(DISTBINDIR).tar.gz - -rm -rf -- $(DISTBINDIR) - -rm -f -- $(DISTDIR).tar.gz - -rm -rf -- $(DISTDIR) - -rm -f -- $(ORIGDIR).tar.gz - -rm -rf -- $(ORIGDIR) - - -$(DISTBINDIR): - $(INSTALL_DIR) $(DISTBINDIR) - -libdir: all $(DISTBINDIR) - $(INSTALL_DATA) $(LIBRARY_NAME)-meta.pd $(DISTBINDIR) - $(INSTALL_DATA) $(SOURCES) $(SHARED_SOURCE) $(SHARED_HEADER) $(DISTBINDIR) - $(INSTALL_DATA) $(HELPPATCHES) $(DISTBINDIR) - test -z "$(strip $(EXTRA_DIST))" || \ - $(INSTALL_DATA) $(EXTRA_DIST) $(DISTBINDIR) -# tar --exclude-vcs -czpf $(DISTBINDIR).tar.gz $(DISTBINDIR) - -$(DISTDIR): - $(INSTALL_DIR) $(DISTDIR) - -$(ORIGDIR): - $(INSTALL_DIR) $(ORIGDIR) - -dist: $(DISTDIR) - $(INSTALL_DATA) Makefile $(DISTDIR) - $(INSTALL_DATA) README.txt $(DISTDIR) - $(INSTALL_DATA) LICENSE.txt $(DISTDIR) - $(INSTALL_DATA) $(LIBRARY_NAME)-meta.pd $(DISTDIR) - test -z "$(strip $(ALLSOURCES))" || \ - $(INSTALL_DATA) $(ALLSOURCES) $(DISTDIR) - test -z "$(strip $(wildcard $(ALLSOURCES:.c=.tcl)))" || \ - $(INSTALL_DATA) $(wildcard $(ALLSOURCES:.c=.tcl)) $(DISTDIR) - test -z "$(strip $(wildcard $(LIBRARY_NAME).c))" || \ - $(INSTALL_DATA) $(LIBRARY_NAME).c $(DISTDIR) - test -z "$(strip $(SHARED_HEADER))" || \ - $(INSTALL_DATA) $(SHARED_HEADER) $(DISTDIR) - test -z "$(strip $(SHARED_SOURCE))" || \ - $(INSTALL_DATA) $(SHARED_SOURCE) $(DISTDIR) - test -z "$(strip $(SHARED_TCL_LIB))" || \ - $(INSTALL_DATA) $(SHARED_TCL_LIB) $(DISTDIR) - test -z "$(strip $(PDOBJECTS))" || \ - $(INSTALL_DATA) $(PDOBJECTS) $(DISTDIR) - test -z "$(strip $(HELPPATCHES))" || \ - $(INSTALL_DATA) $(HELPPATCHES) $(DISTDIR) - test -z "$(strip $(EXTRA_DIST))" || \ - $(INSTALL_DATA) $(EXTRA_DIST) $(DISTDIR) - test -z "$(strip $(EXAMPLES))" || \ - $(INSTALL_DIR) $(DISTDIR)/examples && \ - for file in $(EXAMPLES); do \ - $(INSTALL_DATA) examples/$$file $(DISTDIR)/examples; \ - done - test -z "$(strip $(MANUAL))" || \ - $(INSTALL_DIR) $(DISTDIR)/manual && \ - for file in $(MANUAL); do \ - $(INSTALL_DATA) manual/$$file $(DISTDIR)/manual; \ - done - test -z "$(strip $(UNITTESTS))" || \ - $(INSTALL_DIR) $(DISTDIR)/unittests && \ - for file in $(UNITTESTS); do \ - $(INSTALL_DATA) unittests/$$file $(DISTDIR)/unittests; \ - done - tar --exclude-vcs -czpf $(DISTDIR).tar.gz $(DISTDIR) - -# make a Debian source package -dpkg-source: - debclean - make distclean dist - mv $(DISTDIR) $(ORIGDIR) - tar --exclude-vcs -czpf ../$(ORIGDIR).orig.tar.gz $(ORIGDIR) - rm -f -- $(DISTDIR).tar.gz - rm -rf -- $(DISTDIR) $(ORIGDIR) - cd .. && dpkg-source -b $(LIBRARY_NAME) - -etags: TAGS - -TAGS: $(wildcard $(PD_INCLUDE)/*.h) $(SOURCES) $(SHARED_SOURCE) $(SHARED_HEADER) - etags $(wildcard $(PD_INCLUDE)/*.h) - etags -a *.h $(SOURCES) $(SHARED_SOURCE) $(SHARED_HEADER) - etags -a --language=none --regex="/proc[ \t]+\([^ \t]+\)/\1/" *.tcl - -showsetup: - @echo "CC: $(CC)" - @echo "CFLAGS: $(CFLAGS)" - @echo "LDFLAGS: $(LDFLAGS)" - @echo "LIBS: $(LIBS)" - @echo "ALL_CFLAGS: $(ALL_CFLAGS)" - @echo "ALL_LDFLAGS: $(ALL_LDFLAGS)" - @echo "ALL_LIBS: $(ALL_LIBS)" - @echo "PD_INCLUDE: $(PD_INCLUDE)" - @echo "PD_PATH: $(PD_PATH)" - @echo "objectsdir: $(objectsdir)" - @echo "LIBRARY_NAME: $(LIBRARY_NAME)" - @echo "LIBRARY_VERSION: $(LIBRARY_VERSION)" - @echo "SOURCES: $(SOURCES)" - @echo "SHARED_HEADER: $(SHARED_HEADER)" - @echo "SHARED_SOURCE: $(SHARED_SOURCE)" - @echo "SHARED_LIB: $(SHARED_LIB)" - @echo "SHARED_TCL_LIB: $(SHARED_TCL_LIB)" - @echo "PDOBJECTS: $(PDOBJECTS)" - @echo "ALLSOURCES: $(ALLSOURCES)" - @echo "ALLSOURCES TCL: $(wildcard $(ALLSOURCES:.c=.tcl))" - @echo "UNAME: $(UNAME)" - @echo "CPU: $(CPU)" - @echo "pkglibdir: $(pkglibdir)" - @echo "DISTDIR: $(DISTDIR)" - @echo "ORIGDIR: $(ORIGDIR)" diff --git a/README.txt b/README.txt deleted file mode 100644 index 2b258e2..0000000 --- a/README.txt +++ /dev/null @@ -1,24 +0,0 @@ - -This package includes a Pd object and a matching Arduino firmware. It allows -you to control the Arduino board from Pd without having to program in -Arduino's C++. - -To use it, first download and install Arduino 0018 or newer from -http://arduino.cc. When you run the Arduino program, then you'll be able to -choose firmware from Arduino application, in the menu: - - File -> Open -> Examples -> Library-Firmata - -Once you have uploaded a firmware to your Arduino board, open up -arduino-test.pd in Pd, then choose your serial port with the [open( message. - -* for more on Arduino, go to: http://arduino.cc -* for more information about this firmware here: http://firmata.org - -WARNING! This version of the arduino object for Pd will only work with 2.1 -versions of Firmata or newer! It will not work with older versions of the firmware! - -(You can also optionally unzip the included Firmata-2.2 firmware and follow -the README included in there.) - -Hans-Christoph Steiner <hans@eds.org> diff --git a/arduino-help.pd b/arduino-help.pd deleted file mode 100644 index baf446a..0000000 --- a/arduino-help.pd +++ /dev/null @@ -1,564 +0,0 @@ -#N canvas 89 22 674 563 10; -#N canvas 233 472 466 316 INSTALL-NOTES 0; -#X text 39 201 [comport] \, from pd-cvs/externals/iem/comport; -#X text 39 185 [arduino] \, from pd-cvs/externals/hardware/arduino -; -#X text 39 217 [speedlim] \, from iemlib \, pd-cvs/externals/iemlib -; -#X text 20 27 1 General information on arduino: http://www.arduino.cc -; -#X text 21 159 4 Pduino needs the following externals and abstractions: -; -#X text 22 257 5 If you still have troubles \, mail to the pd list -!; -#X text 20 61 2 You need to install a Firmata firmware. There are a -bunch of Firmata firmwares included with Arduino. Use Arduino 18 or -newer for best results.; -#X text 20 108 3 The StandardFirmata firmware is the best place to -start.; -#X restore 25 72 pd INSTALL-NOTES; -#X text 150 73 <- read this first !; -#X msg 48 169 close; -#X msg 58 194 info; -#N canvas 248 49 447 555 DIGITAL-OUTPUT 0; -#X text 72 97 I/O the individual pins:; -#X text 20 22 NOTE: don't forget to set pins to output mode first! -; -#X obj 40 194 cnv 15 100 22 empty empty empty 20 12 0 14 -253938 -66577 -0; -#X msg 49 197 digital 13 0; -#X obj 168 134 tgl 15 0 empty empty 7 4 -6 1 12 -233017 -1 -1 0 1; -#X obj 185 134 tgl 15 0 empty empty 8 4 -6 1 12 -233017 -1 -1 0 1; -#X obj 202 134 tgl 15 0 empty empty 9 4 -6 1 12 -233017 -1 -1 0 1; -#X obj 219 134 tgl 15 0 empty empty 10 0 -6 1 12 -233017 -1 -1 0 1 -; -#X obj 236 134 tgl 15 0 empty empty 11 0 -6 1 12 -233017 -1 -1 0 1 -; -#X obj 253 134 tgl 15 0 empty empty 12 0 -6 1 12 -233017 -1 -1 0 1 -; -#X obj 270 134 tgl 15 0 empty empty 13 0 -6 1 12 -233017 -1 -1 0 1 -; -#X obj 83 134 tgl 15 0 empty empty 2 4 -6 1 12 -233017 -1 -1 0 1; -#X obj 100 134 tgl 15 0 empty empty 3 4 -6 1 12 -233017 -1 -1 0 1; -#X obj 117 134 tgl 15 0 empty empty 5 4 -6 1 12 -233017 -1 -1 0 1; -#X obj 134 134 tgl 15 0 empty empty 6 4 -6 1 12 -233017 -1 -1 0 1; -#X obj 151 134 tgl 15 0 empty empty 7 4 -6 1 12 -233017 -1 -1 0 1; -#N canvas 474 328 810 360 generate 0; -#X obj 49 24 inlet; -#X obj 89 24 inlet; -#X obj 128 24 inlet; -#X obj 168 24 inlet; -#X obj 208 24 inlet; -#X obj 248 24 inlet; -#X obj 287 24 inlet; -#X obj 327 24 inlet; -#X obj 368 23 inlet; -#X obj 408 23 inlet; -#X obj 447 23 inlet; -#X obj 487 23 inlet; -#X obj 527 23 inlet; -#X msg 49 66 digital 0 \$1; -#X msg 89 88 digital 1 \$1; -#X msg 128 110 digital 2 \$1; -#X msg 168 130 digital 3 \$1; -#X msg 208 62 digital 4 \$1; -#X msg 248 84 digital 5 \$1; -#X msg 287 106 digital 6 \$1; -#X msg 327 126 digital 7 \$1; -#X msg 368 58 digital 8 \$1; -#X msg 408 80 digital 9 \$1; -#X msg 447 102 digital 10 \$1; -#X msg 487 122 digital 11 \$1; -#X msg 527 50 digital 12 \$1; -#X obj 566 23 inlet; -#X msg 566 70 digital 13 \$1; -#X obj 305 196 prepend set; -#X obj 305 254 outlet; -#X obj 305 215 trigger bang anything; -#X connect 0 0 13 0; -#X connect 1 0 14 0; -#X connect 2 0 15 0; -#X connect 3 0 16 0; -#X connect 4 0 17 0; -#X connect 5 0 18 0; -#X connect 6 0 19 0; -#X connect 7 0 20 0; -#X connect 8 0 21 0; -#X connect 9 0 22 0; -#X connect 10 0 23 0; -#X connect 11 0 24 0; -#X connect 12 0 25 0; -#X connect 13 0 28 0; -#X connect 14 0 28 0; -#X connect 15 0 28 0; -#X connect 16 0 28 0; -#X connect 17 0 28 0; -#X connect 18 0 28 0; -#X connect 19 0 28 0; -#X connect 20 0 28 0; -#X connect 21 0 28 0; -#X connect 22 0 28 0; -#X connect 23 0 28 0; -#X connect 24 0 28 0; -#X connect 25 0 28 0; -#X connect 26 0 27 0; -#X connect 27 0 28 0; -#X connect 28 0 30 0; -#X connect 30 0 29 0; -#X connect 30 1 29 0; -#X restore 49 158 pd generate digital out messages; -#X obj 319 109 tgl 25 0 empty empty ALL 2 12 0 12 -262144 -1 -1 0 1 -; -#X obj 319 70 tgl 15 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 16383 -; -#X obj 319 88 metro 100; -#X obj 49 280 send \$0-arduino; -#X text 143 197 <-- this is the message format; -#X text 181 69 strobe all pins -->; -#X obj 49 134 tgl 15 0 empty empty 0 3 -6 1 12 -260818 -1 -1 0 1; -#X obj 66 134 tgl 15 0 empty empty 1 3 -6 1 12 -260818 -1 -1 0 1; -#X obj 49 134 cnv 15 15 15 empty empty Rx 1 10 0 11 -128992 -86277 -0; -#X obj 66 134 cnv 15 15 15 empty empty Tx 1 10 0 11 -128992 -13381 -0; -#X obj 49 510 send \$0-arduino; -#X text 38 311 You can also send digital messages 8-bits at a time -\, called a "port". Microcontrollers like the Arduino are organized -around 8-bit ports. This allows you to set 8 pins at the same time -with one message; -#X msg 267 392 port 1 0; -#X msg 123 391 port 0 0; -#X msg 49 391 port 0 255; -#X msg 193 392 port 1 255; -#X connect 3 0 20 0; -#X connect 4 0 16 7; -#X connect 5 0 16 8; -#X connect 6 0 16 9; -#X connect 7 0 16 10; -#X connect 8 0 16 11; -#X connect 9 0 16 12; -#X connect 10 0 16 13; -#X connect 11 0 16 2; -#X connect 12 0 16 3; -#X connect 13 0 16 4; -#X connect 14 0 16 5; -#X connect 15 0 16 6; -#X connect 16 0 3 0; -#X connect 17 0 10 0; -#X connect 17 0 9 0; -#X connect 17 0 8 0; -#X connect 17 0 7 0; -#X connect 17 0 6 0; -#X connect 17 0 5 0; -#X connect 17 0 4 0; -#X connect 17 0 15 0; -#X connect 17 0 14 0; -#X connect 17 0 13 0; -#X connect 17 0 12 0; -#X connect 17 0 11 0; -#X connect 18 0 19 0; -#X connect 19 0 17 0; -#X connect 29 0 27 0; -#X connect 30 0 27 0; -#X connect 31 0 27 0; -#X connect 32 0 27 0; -#X restore 61 411 pd DIGITAL-OUTPUT; -#N canvas 494 94 578 280 DIGITAL-INPUT 0; -#X obj 114 67 r \$0-arduino-out; -#X text 387 93 connect the Digital Input; -#X text 387 110 to the ground (=0) or to; -#X text 387 127 the positive voltage (=1); -#X text 113 185 NOTE: if you don't connect your pin neither to + nor -to the ground \, you will get random values (0 or 1) - to avoid that -\, you could connect all the pins to the ground !; -#X text 114 32 NOTE: don't forget to set pins to input mode first! -; -#X obj 114 89 route digital; -#X obj 114 112 route 0 1 2 3 4 5 6 7 8 9 10 11 12 13; -#X obj 145 134 tgl 15 0 empty empty 2 4 23 1 12 -232448 -1 -1 0 1; -#X obj 162 134 tgl 15 0 empty empty 3 4 23 1 12 -232448 -1 -1 0 1; -#X obj 179 134 tgl 15 0 empty empty 4 4 23 1 12 -232448 -1 -1 0 1; -#X obj 196 134 tgl 15 0 empty empty 5 4 23 1 12 -232448 -1 -1 0 1; -#X obj 213 134 tgl 15 0 empty empty 6 4 23 1 12 -232448 -1 -1 0 1; -#X obj 230 134 tgl 15 0 empty empty 7 4 23 1 12 -232448 -1 -1 0 1; -#X obj 247 134 tgl 15 0 empty empty 8 4 23 1 12 -232448 -1 -1 0 1; -#X obj 264 134 tgl 15 0 empty empty 9 4 23 1 12 -232448 -1 -1 0 1; -#X obj 281 134 tgl 15 0 empty empty 10 0 23 1 12 -232448 -1 -1 0 1 -; -#X obj 298 134 tgl 15 0 empty empty 11 0 23 1 12 -232448 -1 -1 0 1 -; -#X obj 315 134 tgl 15 0 empty empty 12 0 23 1 12 -232448 -1 -1 0 1 -; -#X obj 332 134 tgl 15 0 empty empty 13 0 23 1 12 -232448 -1 -1 0 1 -; -#X obj 111 134 tgl 15 0 empty empty 0 4 23 1 12 -232448 -1 -1 0 1; -#X obj 128 134 tgl 15 0 empty empty 1 4 23 1 12 -232448 -1 -1 0 1; -#X obj 111 134 cnv 15 15 15 empty empty Rx 1 10 0 11 -128992 -86277 -0; -#X obj 128 134 cnv 15 15 15 empty empty Tx 1 10 0 11 -128992 -13381 -0; -#X text 12 134 (serial port)->; -#X connect 0 0 6 0; -#X connect 6 0 7 0; -#X connect 7 2 8 0; -#X connect 7 3 9 0; -#X connect 7 4 10 0; -#X connect 7 5 11 0; -#X connect 7 6 12 0; -#X connect 7 7 13 0; -#X connect 7 8 14 0; -#X connect 7 9 15 0; -#X connect 7 10 16 0; -#X connect 7 11 17 0; -#X connect 7 12 18 0; -#X connect 7 13 19 0; -#X restore 68 387 pd DIGITAL-INPUT; -#X text 310 154 Set input/output mode of the pins for digital IO:; -#N canvas 268 170 441 343 ANALOG-INPUT 0; -#X obj 121 70 r \$0-arduino-out; -#X obj 121 108 spigot 0; -#X obj 183 105 tgl 20 0 empty empty empty 0 -6 0 8 -258699 -1 -1 0 -1; -#X text 30 24 Analog Inputs of the Arduino-Board:; -#X text 211 107 <- enable analog inputs; -#X text 25 283 NOTE: connect the analog pins that you don't use to -the ground \, if you want to avoid flickering of the values !; -#X floatatom 22 226 5 0 0 3 a0 - -; -#X floatatom 68 226 5 0 0 3 a1 - -; -#X floatatom 114 226 5 0 0 3 a2 - -; -#X floatatom 160 226 5 0 0 3 a3 - -; -#X floatatom 206 226 5 0 0 3 a4 - -; -#X floatatom 252 226 5 0 0 3 a5 - -; -#X floatatom 298 226 5 0 0 3 a6 - -; -#X floatatom 344 226 5 0 0 3 a7 - -; -#X obj 121 147 route analog; -#X obj 121 169 route 0 1 2 3 4 5 6 7; -#N canvas 0 22 499 396 display 0; -#X obj 6 7 inlet; -#X obj 6 28 mapping/resample 100; -#X obj 6 50 outlet; -#X obj 54 50 inlet; -#X obj 54 71 mapping/resample 100; -#X obj 54 93 outlet; -#X obj 103 93 inlet; -#X obj 103 114 mapping/resample 100; -#X obj 103 136 outlet; -#X obj 151 136 inlet; -#X obj 151 157 mapping/resample 100; -#X obj 151 179 outlet; -#X obj 200 179 inlet; -#X obj 200 200 mapping/resample 100; -#X obj 200 222 outlet; -#X obj 247 222 inlet; -#X obj 247 243 mapping/resample 100; -#X obj 247 265 outlet; -#X obj 295 265 inlet; -#X obj 295 286 mapping/resample 100; -#X obj 295 308 outlet; -#X obj 345 308 inlet; -#X obj 345 329 mapping/resample 100; -#X obj 345 351 outlet; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X connect 3 0 4 0; -#X connect 4 0 5 0; -#X connect 6 0 7 0; -#X connect 7 0 8 0; -#X connect 9 0 10 0; -#X connect 10 0 11 0; -#X connect 12 0 13 0; -#X connect 13 0 14 0; -#X connect 15 0 16 0; -#X connect 16 0 17 0; -#X connect 18 0 19 0; -#X connect 19 0 20 0; -#X connect 21 0 22 0; -#X connect 22 0 23 0; -#X restore 45 200 pd display values without pegging the CPU; -#X connect 0 0 1 0; -#X connect 1 0 14 0; -#X connect 2 0 1 1; -#X connect 14 0 15 0; -#X connect 15 0 16 0; -#X connect 15 1 16 1; -#X connect 15 2 16 2; -#X connect 15 3 16 3; -#X connect 15 4 16 4; -#X connect 15 5 16 5; -#X connect 15 6 16 6; -#X connect 15 7 16 7; -#X connect 16 0 6 0; -#X connect 16 1 7 0; -#X connect 16 2 8 0; -#X connect 16 3 9 0; -#X connect 16 4 10 0; -#X connect 16 5 11 0; -#X connect 16 6 12 0; -#X connect 16 7 13 0; -#X restore 73 435 pd ANALOG-INPUT; -#N canvas 462 480 562 378 ANALOG-OUTPUT-PWM 0; -#X text 16 17 Analog Output \, PWM (Pulse Width Modulation); -#X msg 21 189 pwm 9 \$1; -#X obj 24 168 hsl 150 17 0 1 0 0 empty empty PWM_control_(0-1) -2 -6 -1 10 -260818 -1 -1 0 1; -#X obj 21 258 s \$0-arduino; -#X text 29 215 disable PWM:; -#X obj 192 168 hsl 150 17 0 1 0 0 empty empty PWM_control_(0-1) -2 --6 1 10 -260818 -1 -1 0 1; -#X obj 189 258 s \$0-arduino; -#X text 197 215 disable PWM:; -#X obj 354 168 hsl 150 17 0 1 0 0 empty empty PWM_control_(0-1) -2 --6 1 10 -260818 -1 -1 0 1; -#X obj 351 258 s \$0-arduino; -#X text 359 215 disable PWM:; -#X text 21 133 PIN9:; -#X text 189 135 PIN10:; -#X text 351 135 PIN11:; -#X msg 189 189 pwm 10 \$1; -#X msg 351 189 pwm 11 \$1; -#X text 21 319 NOTE: it is possible to write as well on the other pins -to send software-PWM signals (will come soon ...); -#X msg 31 234 pwm 9 0; -#X msg 199 234 pwm 10 0; -#X msg 361 234 pwm 11 0; -#X text 16 53 With the help of PWM you can write analog values to the -PWM pins of your Arduino board.; -#X text 17 89 NOTE: don't forget to set the pins to 'pwm' mode first -!; -#X connect 1 0 3 0; -#X connect 2 0 1 0; -#X connect 5 0 14 0; -#X connect 8 0 15 0; -#X connect 14 0 6 0; -#X connect 15 0 9 0; -#X connect 17 0 3 0; -#X connect 18 0 6 0; -#X connect 19 0 9 0; -#X restore 43 460 pd ANALOG-OUTPUT-PWM; -#X text 25 327 With the Arduino-Board you can do digital and analog -input and output \, as descriped in the following sub-patches:; -#X text 191 410 <- example of Digital Output; -#X text 191 388 <- example of Digital Input; -#X text 191 436 <- example of Analog Input; -#X text 191 461 <- example of Analog Output; -#X text 259 30 Arduino Interface For PD; -#X text 286 4 ::::_PDUINO_::::; -#X text 476 490 2006 \, released under GNU GPL \; Gerda Strobl \, Georg -Holzmann; -#X text 111 221 <- list devices; -#X obj 337 264 send \$0-arduino; -#X obj 476 91 send \$0-arduino-out; -#X obj 476 47 receive \$0-arduino; -#X obj 16 294 send \$0-arduino; -#N canvas 0 22 436 343 GETTING-INFO 0; -#X msg 147 65 version; -#X msg 207 65 info; -#X obj 146 177 route version; -#X floatatom 146 245 5 0 0 0 - - -; -#X floatatom 251 245 5 0 0 0 - - -; -#X obj 146 146 receive \$0-arduino-out; -#X obj 147 107 send \$0-arduino; -#X obj 146 221 unpack float float; -#X connect 0 0 6 0; -#X connect 1 0 6 0; -#X connect 2 0 7 0; -#X connect 5 0 2 0; -#X connect 7 0 3 0; -#X connect 7 1 4 0; -#X restore 73 508 pd GETTING-INFO; -#X text 191 509 <- example of getting status data; -#N canvas 477 400 471 273 SWITCHING-INPUTS 0; -#X obj 140 195 send \$0-arduino; -#X msg 25 123 analogIns 0 0; -#N canvas 162 133 610 460 serin 0; -#X obj 59 337 outlet; -#X obj 59 266 trigger bang anything; -#X obj 201 286 list; -#X obj 60 61 tgl 15 0 junk_to_hide_inlet junk_to_hide_outlet 0 5 9 -1 12 -262130 -1 -1 0 1; -#X obj 75 61 tgl 15 0 junk_to_hide_inlet junk_to_hide_outlet 1 5 9 -1 12 -262130 -1 -1 0 1; -#X obj 90 61 tgl 15 0 junk_to_hide_inlet junk_to_hide_outlet 2 5 9 -1 12 -262130 -1 -1 0 1; -#X obj 105 61 tgl 15 0 junk_to_hide_inlet junk_to_hide_outlet 3 5 9 -1 12 -262130 -1 -1 0 1; -#X obj 120 61 tgl 15 0 junk_to_hide_inlet junk_to_hide_outlet 4 5 9 -1 12 -262130 -1 -1 0 1; -#X obj 135 61 tgl 15 0 junk_to_hide_inlet junk_to_hide_outlet 5 5 9 -1 12 -262130 -1 -1 0 1; -#X obj 150 61 tgl 15 0 junk_to_hide_inlet junk_to_hide_outlet 6 5 9 -1 12 -262130 -1 -1 0 1; -#X obj 165 61 tgl 15 0 junk_to_hide_inlet junk_to_hide_outlet 7 5 9 -1 12 -262130 -1 -1 0 1; -#X msg 59 210 analogIns \$1 \$2; -#X msg 35 106 0 \$1; -#X msg 70 106 1 \$1; -#X msg 105 106 2 \$1; -#X msg 140 106 3 \$1; -#X msg 175 106 4 \$1; -#X msg 210 106 5 \$1; -#X msg 245 106 6 \$1; -#X msg 280 106 7 \$1; -#X msg 202 307 set \$1 \$2 \$3; -#X connect 1 0 0 0; -#X connect 1 1 2 0; -#X connect 2 0 20 0; -#X connect 3 0 12 0; -#X connect 4 0 13 0; -#X connect 5 0 14 0; -#X connect 6 0 15 0; -#X connect 7 0 16 0; -#X connect 8 0 17 0; -#X connect 9 0 18 0; -#X connect 10 0 19 0; -#X connect 11 0 1 0; -#X connect 12 0 11 0; -#X connect 13 0 11 0; -#X connect 14 0 11 0; -#X connect 15 0 11 0; -#X connect 16 0 11 0; -#X connect 17 0 11 0; -#X connect 18 0 11 0; -#X connect 19 0 11 0; -#X connect 20 0 0 0; -#X coords 0 -1 1 1 120 16 1 60 60; -#X restore 25 103 pd serin; -#X text 24 86 which analogIns to enable:; -#X msg 234 128 digitalIns 0 0; -#X text 233 91 which digital ports to enable:; -#N canvas 162 133 610 460 seri 0; -#X obj 59 337 outlet; -#X obj 59 266 trigger bang anything; -#X obj 201 286 list; -#X obj 60 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 0 5 9 1 -12 -260736 -1 -1 0 1; -#X obj 75 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 1 5 9 1 -12 -260736 -1 -1 0 1; -#X obj 90 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 2 5 9 1 -12 -260736 -1 -1 0 1; -#X msg 35 106 0 \$1; -#X msg 70 106 1 \$1; -#X msg 105 106 2 \$1; -#X msg 202 307 set \$1 \$2 \$3; -#X msg 59 210 digitalIns \$1 \$2; -#X connect 1 0 0 0; -#X connect 1 1 2 0; -#X connect 2 0 9 0; -#X connect 3 0 6 0; -#X connect 4 0 7 0; -#X connect 5 0 8 0; -#X connect 6 0 10 0; -#X connect 7 0 10 0; -#X connect 8 0 10 0; -#X connect 9 0 0 0; -#X connect 10 0 1 0; -#X coords 0 -1 1 1 45 16 1 60 60; -#X restore 234 108 pd seri; -#X text 23 15 Currently \, you have to tell StandardFirmata to send -you data from the inputs. For analog \, its controlled per-pin. For -digital it is controller per 8-pin "port".; -#X connect 1 0 0 0; -#X connect 2 0 1 0; -#X connect 4 0 0 0; -#X connect 6 0 4 0; -#X restore 49 533 pd SWITCHING-INPUTS; -#X msg 358 241 digital 13 \$1; -#X obj 358 223 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 -1; -#X obj 476 70 arduino 1; -#X msg 58 220 devices; -#X text 92 194 <- info for current connection; -#X text 291 71 here is our Arduino object -->; -#X msg 58 246 version; -#X msg 31 149 open 1; -#N canvas 0 22 467 240 ver 0; -#X obj 250 100 cnv 15 145 17 empty \$0-version_cnv empty 4 10 0 12 --203904 -1 0; -#X obj 23 157 send \$0-version_cnv; -#X msg 23 132 label \$1; -#X obj 23 52 zexy/makesymbol firmata_version_%s.%s; -#X obj 48 103 symbol; -#X obj 38 77 loadbang; -#X msg 96 78 bang; -#X obj 23 29 route version; -#X obj 23 6 receive \$0-arduino-out; -#X connect 2 0 1 0; -#X connect 3 0 2 0; -#X connect 4 0 2 0; -#X connect 5 0 4 0; -#X connect 6 0 4 0; -#X connect 7 0 3 0; -#X connect 8 0 7 0; -#X coords 0 -1 1 1 145 17 1 250 100; -#X restore 125 294 pd ver; -#X text 110 246 <- get protocol version; -#X text 110 271 <- get firmware version; -#X msg 58 271 firmware; -#X text 79 147 select the serial port; -#X text 99 169 close the serial port; -#X msg 357 189 pinMode 13 output; -#N canvas 213 217 432 341 SERVO 0; -#X obj 52 224 hsl 150 17 0 1 0 0 empty empty Servo_control_(0-1) -2 --6 1 10 -260818 -1 -1 0 1; -#X obj 49 274 s \$0-arduino; -#X text 27 141 disable PWM:; -#X obj 260 224 hsl 150 17 0 1 0 0 empty empty Servo_control_(0-1) -2 --6 1 10 -260818 -1 -1 0 1; -#X obj 257 274 s \$0-arduino; -#X text 235 141 disable PWM:; -#X text 19 119 PIN9:; -#X text 227 121 PIN10:; -#X text 14 13 Servo control; -#X msg 49 245 analog 9 \$1; -#X msg 257 245 analog 10 \$1; -#X msg 29 160 pinMode 9 servo; -#X msg 237 160 pinMode 10 servo; -#X text 15 40 You can control servo motors using Pd. First \, set the -pin to servo mode using the pinMode message \, then send analog values -to that pin with a range between 0 and 1 0 will set the position to -one extreme \, and 1 to the other.; -#X connect 0 0 9 0; -#X connect 3 0 10 0; -#X connect 9 0 1 0; -#X connect 10 0 4 0; -#X connect 11 0 1 0; -#X connect 12 0 4 0; -#X restore 115 484 pd SERVO; -#X text 191 485 <- example of Servo control; -#X text 191 533 <- example of switching inputs on and off (optional) -; -#X text 191 364 <- first \, you need to config the pinMode; -#N canvas 41 177 444 293 PINMODE 0; -#X text 45 14 Before you can send or receive any data from the Arduino -\, you need to configure the pins using the pinMode message. The message -has the format [pinMode pin# mode(. You can use either numbers or names -for the pin modes:; -#X msg 58 171 pinMode 10 3; -#X msg 58 151 pinMode 10 2; -#X msg 58 131 pinMode 10 1; -#X msg 58 111 pinMode 10 0; -#X msg 58 191 pinMode 10 4; -#X text 169 111 ==; -#X text 169 131 ==; -#X text 169 151 ==; -#X text 169 171 ==; -#X text 169 191 ==; -#X msg 218 111 pinMode 10 input; -#X msg 218 131 pinMode 10 output; -#X msg 218 151 pinMode 10 analog; -#X msg 218 171 pinMode 10 pwm; -#X msg 218 191 pinMode 10 servo; -#X restore 104 363 pd PINMODE; -#X text 470 189 <-- set pin 13 to output mode; -#X text 381 222 <-- toggle pin 13 on and off; -#X connect 2 0 21 0; -#X connect 3 0 21 0; -#X connect 20 0 27 0; -#X connect 25 0 18 0; -#X connect 26 0 25 0; -#X connect 27 0 19 0; -#X connect 28 0 21 0; -#X connect 31 0 21 0; -#X connect 32 0 21 0; -#X connect 36 0 21 0; -#X connect 39 0 18 0; diff --git a/arduino-meta.pd b/arduino-meta.pd deleted file mode 100644 index ee36888..0000000 --- a/arduino-meta.pd +++ /dev/null @@ -1,6 +0,0 @@ -#N canvas 15 49 200 200 10; -#N canvas 25 49 420 300 META 1; -#X text 13 41 NAME arduino; -#X text 10 25 AUTHOR Hans-Chrsitoph Steiner \, Gerda Strobl \, Georg Holzmann; -#X text 10 10 VERSION 0.5.1; -#X restore 10 10 pd META; diff --git a/arduino-stress-test.pd b/arduino-stress-test.pd deleted file mode 100644 index 6f907d1..0000000 --- a/arduino-stress-test.pd +++ /dev/null @@ -1,106 +0,0 @@ -#N canvas 309 64 770 472 10; -#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; diff --git a/arduino-test.pd b/arduino-test.pd deleted file mode 100644 index a34500c..0000000 --- a/arduino-test.pd +++ /dev/null @@ -1,985 +0,0 @@ -#N canvas 148 59 645 521 10; -#X obj 233 112 cnv 15 100 22 empty empty empty 20 12 0 14 -253938 -66577 -0; -#X obj 405 216 cnv 15 85 22 empty empty empty 20 12 0 14 -253938 -66577 -0; -#X obj 22 90 cnv 15 60 22 empty empty empty 20 12 0 14 -253938 -66577 -0; -#N canvas 146 163 525 433 serin 0; -#X obj 180 61 cnv 15 15 15 empty \$0-number-canvas 1 4 8 0 14 -233017 --1 0; -#X obj 200 225 s \$0-number-canvas; -#X obj 60 61 hradio 15 1 1 8 empty empty empty 0 -6 0 8 -225271 -1 --1 1; -#X obj 60 13 inlet; -#X msg 200 202 label \$1; -#X obj 200 180 makefilename %d; -#X obj 59 108 int; -#X msg 59 206 open \$1; -#X obj 59 377 outlet; -#X msg 201 306 set \$1 \$2; -#X obj 59 266 trigger bang anything; -#X obj 201 286 list; -#X obj 383 383 outlet; -#X obj 384 22 netreceive 34567; -#X obj 477 43 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0 -1; -#X obj 384 41 bng 15 250 50 0 empty empty empty 0 -6 0 10 -262144 -1 --1; -#X obj 187 24 delay 15000; -#X text 345 379 close; -#X text 209 4 for open/close automation in Makefile; -#X obj 184 95 bang; -#X obj 184 137 send ARDUINO_TEST_RESET; -#X msg 184 116 set 0; -#X connect 2 0 6 0; -#X connect 2 0 19 0; -#X connect 3 0 2 0; -#X connect 4 0 1 0; -#X connect 5 0 4 0; -#X connect 6 0 5 0; -#X connect 6 0 7 0; -#X connect 7 0 10 0; -#X connect 9 0 8 0; -#X connect 10 0 8 0; -#X connect 10 1 11 0; -#X connect 11 0 9 0; -#X connect 13 0 15 0; -#X connect 13 1 14 0; -#X connect 15 0 16 0; -#X connect 15 0 12 0; -#X connect 16 0 2 0; -#X connect 19 0 21 0; -#X connect 21 0 20 0; -#X coords 0 -1 1 1 136 17 1 60 60; -#X restore 28 69 pd serin; -#X text 25 51 serial port #; -#X msg 88 92 close; -#X obj 467 175 hsl 150 17 0 1 0 0 empty ARDUINO_TEST_RESET analog_output_(0-1) -20 9 1 10 -225271 -1 -1 0 0; -#X floatatom 22 446 5 0 0 3 a0 - -; -#X floatatom 68 446 5 0 0 3 a1 - -; -#X floatatom 114 446 5 0 0 3 a2 - -; -#X floatatom 160 446 5 0 0 3 a3 - -; -#X floatatom 206 446 5 0 0 3 a4 - -; -#X floatatom 252 446 5 0 0 3 a5 - -; -#X obj 413 137 hradio 15 1 0 14 empty empty empty 0 -6 0 8 -176124 --1 -1 0; -#X text 521 123 7; -#X text 415 123 0; -#X text 562 123 10; -#X text 608 123 13; -#X text 473 123 4; -#X text 444 123 2; -#X text 489 123 5; -#X text 504 123 6; -#X text 459 123 3; -#X text 535 123 8; -#X text 552 123 9; -#X text 578 123 11; -#X text 593 123 12; -#X text 430 123 1; -#X msg 121 132 info; -#X msg 121 152 version; -#N canvas 763 71 475 478 sending 0; -#X obj 69 228 cnv 15 100 22 empty empty empty 20 12 0 14 -253938 -66577 -0; -#X obj 78 434 outlet; -#X msg 78 231 digital 9 1; -#X obj 127 148 tgl 15 0 empty ARDUINO_TEST_RESET 7 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 144 148 tgl 15 0 empty ARDUINO_TEST_RESET 8 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 161 148 tgl 15 0 empty ARDUINO_TEST_RESET 9 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 178 148 tgl 15 0 empty ARDUINO_TEST_RESET 10 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 195 148 tgl 15 0 empty ARDUINO_TEST_RESET 11 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 212 148 tgl 15 0 empty ARDUINO_TEST_RESET 12 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 229 148 tgl 15 0 empty ARDUINO_TEST_RESET 13 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 42 148 tgl 15 0 empty ARDUINO_TEST_RESET 2 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 59 148 tgl 15 0 empty ARDUINO_TEST_RESET 3 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 76 148 tgl 15 0 empty ARDUINO_TEST_RESET 4 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 93 148 tgl 15 0 empty ARDUINO_TEST_RESET 5 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 110 148 tgl 15 0 empty ARDUINO_TEST_RESET 6 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 418 123 tgl 25 0 empty ARDUINO_TEST_RESET ALL 2 12 0 12 -262144 --1 -1 0 1; -#X obj 388 72 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 16383 -; -#X obj 388 92 metro 100; -#X obj 301 9 inlet; -#X obj 301 43 trigger 0 float; -#X obj 301 64 select 0; -#X msg 301 84 0; -#X msg 405 389 port 1 0; -#X msg 263 389 port 0 0; -#X msg 189 389 port 0 255; -#X msg 331 389 port 1 255; -#X text 95 291 or send 8-bit ports in one message:; -#X msg 159 338 port 1 \$1; -#X msg 91 338 port 0 \$1; -#X msg 230 338 port 2 \$1; -#X obj 362 297 tgl 25 0 empty ARDUINO_TEST_RESET ALL 2 12 0 12 -262144 --1 -1 0 1; -#X obj 362 246 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 -16383; -#X obj 362 266 metro 100; -#X floatatom 362 329 5 0 0 0 - - -; -#X obj 246 148 tgl 15 0 empty ARDUINO_TEST_RESET 14 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 263 148 tgl 15 0 empty ARDUINO_TEST_RESET 15 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 280 148 tgl 15 0 empty ARDUINO_TEST_RESET 16 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 297 148 tgl 15 0 empty ARDUINO_TEST_RESET 17 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 314 148 tgl 15 0 empty ARDUINO_TEST_RESET 18 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 331 148 tgl 15 0 empty ARDUINO_TEST_RESET 19 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 348 148 tgl 15 0 empty ARDUINO_TEST_RESET 20 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 365 148 tgl 15 0 empty ARDUINO_TEST_RESET 21 0 -6 1 12 -233017 --1 -1 0 1; -#N canvas 314 233 1035 340 generate 0; -#X obj 12 24 inlet; -#X obj 52 24 inlet; -#X obj 91 24 inlet; -#X obj 131 24 inlet; -#X obj 171 24 inlet; -#X obj 211 24 inlet; -#X obj 250 24 inlet; -#X obj 290 24 inlet; -#X obj 331 23 inlet; -#X obj 371 23 inlet; -#X obj 410 23 inlet; -#X obj 450 23 inlet; -#X obj 490 23 inlet; -#X msg 12 66 digital 0 \$1; -#X msg 52 88 digital 1 \$1; -#X msg 91 110 digital 2 \$1; -#X msg 131 130 digital 3 \$1; -#X msg 171 62 digital 4 \$1; -#X msg 211 84 digital 5 \$1; -#X msg 250 106 digital 6 \$1; -#X msg 290 126 digital 7 \$1; -#X msg 331 58 digital 8 \$1; -#X msg 371 80 digital 9 \$1; -#X msg 410 102 digital 10 \$1; -#X msg 450 122 digital 11 \$1; -#X msg 490 50 digital 12 \$1; -#X obj 529 23 inlet; -#X msg 529 70 digital 13 \$1; -#X obj 513 302 outlet; -#X obj 513 263 trigger bang anything; -#X obj 513 214 list prepend set; -#X obj 513 238 list trim; -#X obj 570 23 inlet; -#X obj 610 23 inlet; -#X obj 650 23 inlet; -#X obj 689 23 inlet; -#X msg 570 102 digital 14 \$1; -#X msg 610 122 digital 15 \$1; -#X msg 650 50 digital 16 \$1; -#X msg 689 70 digital 17 \$1; -#X obj 730 23 inlet; -#X obj 770 23 inlet; -#X obj 810 23 inlet; -#X obj 849 23 inlet; -#X msg 730 102 digital 18 \$1; -#X msg 770 122 digital 19 \$1; -#X msg 810 50 digital 20 \$1; -#X msg 849 70 digital 21 \$1; -#X obj 890 23 inlet; -#X obj 930 23 inlet; -#X msg 890 102 digital 22 \$1; -#X msg 930 122 digital 23 \$1; -#X connect 0 0 13 0; -#X connect 1 0 14 0; -#X connect 2 0 15 0; -#X connect 3 0 16 0; -#X connect 4 0 17 0; -#X connect 5 0 18 0; -#X connect 6 0 19 0; -#X connect 7 0 20 0; -#X connect 8 0 21 0; -#X connect 9 0 22 0; -#X connect 10 0 23 0; -#X connect 11 0 24 0; -#X connect 12 0 25 0; -#X connect 13 0 30 0; -#X connect 14 0 30 0; -#X connect 15 0 30 0; -#X connect 16 0 30 0; -#X connect 17 0 30 0; -#X connect 18 0 30 0; -#X connect 19 0 30 0; -#X connect 20 0 30 0; -#X connect 21 0 30 0; -#X connect 22 0 30 0; -#X connect 23 0 30 0; -#X connect 24 0 30 0; -#X connect 25 0 30 0; -#X connect 26 0 27 0; -#X connect 27 0 30 0; -#X connect 29 0 28 0; -#X connect 29 1 28 0; -#X connect 30 0 31 0; -#X connect 31 0 29 0; -#X connect 32 0 36 0; -#X connect 33 0 37 0; -#X connect 34 0 38 0; -#X connect 35 0 39 0; -#X connect 36 0 30 0; -#X connect 37 0 30 0; -#X connect 38 0 30 0; -#X connect 39 0 30 0; -#X connect 40 0 44 0; -#X connect 41 0 45 0; -#X connect 42 0 46 0; -#X connect 43 0 47 0; -#X connect 44 0 30 0; -#X connect 45 0 30 0; -#X connect 46 0 30 0; -#X connect 47 0 30 0; -#X connect 48 0 50 0; -#X connect 49 0 51 0; -#X connect 50 0 30 0; -#X connect 51 0 30 0; -#X restore 78 201 pd generate digital out messages ------------------ -; -#X obj 382 148 tgl 15 0 empty ARDUINO_TEST_RESET 22 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 399 148 tgl 15 0 empty ARDUINO_TEST_RESET 23 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 8 148 tgl 15 0 empty ARDUINO_TEST_RESET 0 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 25 148 tgl 15 0 empty ARDUINO_TEST_RESET 1 4 -6 1 12 -233017 --1 -1 0 1; -#X connect 2 0 1 0; -#X connect 3 0 42 7; -#X connect 4 0 42 8; -#X connect 5 0 42 9; -#X connect 6 0 42 10; -#X connect 7 0 42 11; -#X connect 8 0 42 12; -#X connect 9 0 42 13; -#X connect 10 0 42 2; -#X connect 11 0 42 3; -#X connect 12 0 42 4; -#X connect 13 0 42 5; -#X connect 14 0 42 6; -#X connect 15 0 9 0; -#X connect 15 0 8 0; -#X connect 15 0 7 0; -#X connect 15 0 6 0; -#X connect 15 0 5 0; -#X connect 15 0 4 0; -#X connect 15 0 3 0; -#X connect 15 0 14 0; -#X connect 15 0 13 0; -#X connect 15 0 12 0; -#X connect 15 0 11 0; -#X connect 15 0 10 0; -#X connect 15 0 39 0; -#X connect 15 0 40 0; -#X connect 15 0 41 0; -#X connect 15 0 38 0; -#X connect 15 0 37 0; -#X connect 15 0 36 0; -#X connect 15 0 35 0; -#X connect 15 0 34 0; -#X connect 15 0 44 0; -#X connect 15 0 43 0; -#X connect 15 0 46 0; -#X connect 15 0 45 0; -#X connect 16 0 17 0; -#X connect 17 0 15 0; -#X connect 18 0 19 0; -#X connect 19 0 20 0; -#X connect 19 1 16 0; -#X connect 20 0 21 0; -#X connect 21 0 15 0; -#X connect 22 0 1 0; -#X connect 23 0 1 0; -#X connect 24 0 1 0; -#X connect 25 0 1 0; -#X connect 27 0 1 0; -#X connect 28 0 1 0; -#X connect 29 0 1 0; -#X connect 30 0 33 0; -#X connect 30 0 29 0; -#X connect 30 0 27 0; -#X connect 30 0 28 0; -#X connect 31 0 32 0; -#X connect 32 0 30 0; -#X connect 34 0 42 14; -#X connect 35 0 42 15; -#X connect 36 0 42 16; -#X connect 37 0 42 17; -#X connect 38 0 42 18; -#X connect 39 0 42 19; -#X connect 40 0 42 20; -#X connect 41 0 42 21; -#X connect 42 0 2 0; -#X connect 43 0 42 22; -#X connect 44 0 42 23; -#X connect 45 0 42 0; -#X connect 46 0 42 1; -#X restore 411 268 pd sending digital outs; -#X obj 411 249 tgl 15 0 empty ARDUINO_TEST_RESET empty 0 -6 0 8 -225271 --1 -1 0 16383; -#X floatatom 298 446 5 0 0 3 a6 - -; -#X floatatom 344 446 5 0 0 3 a7 - -; -#X obj 121 389 route 0 1 2 3 4 5 6 7; -#N canvas 981 48 499 396 display 0; -#X obj 6 7 inlet; -#X obj 6 28 mapping/resample 100; -#X obj 6 50 outlet; -#X obj 54 50 inlet; -#X obj 54 71 mapping/resample 100; -#X obj 54 93 outlet; -#X obj 103 93 inlet; -#X obj 103 114 mapping/resample 100; -#X obj 103 136 outlet; -#X obj 151 136 inlet; -#X obj 151 157 mapping/resample 100; -#X obj 151 179 outlet; -#X obj 200 179 inlet; -#X obj 200 200 mapping/resample 100; -#X obj 200 222 outlet; -#X obj 247 222 inlet; -#X obj 247 243 mapping/resample 100; -#X obj 247 265 outlet; -#X obj 295 265 inlet; -#X obj 295 286 mapping/resample 100; -#X obj 295 308 outlet; -#X obj 345 308 inlet; -#X obj 345 329 mapping/resample 100; -#X obj 345 351 outlet; -#X obj 60 290 receive ARDUINO_TEST_RESET; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X connect 3 0 4 0; -#X connect 4 0 5 0; -#X connect 6 0 7 0; -#X connect 7 0 8 0; -#X connect 9 0 10 0; -#X connect 10 0 11 0; -#X connect 12 0 13 0; -#X connect 13 0 14 0; -#X connect 15 0 16 0; -#X connect 16 0 17 0; -#X connect 18 0 19 0; -#X connect 19 0 20 0; -#X connect 21 0 22 0; -#X connect 22 0 23 0; -#X connect 24 0 22 0; -#X connect 24 0 19 0; -#X connect 24 0 16 0; -#X connect 24 0 13 0; -#X connect 24 0 10 0; -#X connect 24 0 7 0; -#X connect 24 0 4 0; -#X connect 24 0 1 0; -#X restore 45 420 pd display values without pegging the CPU; -#X obj 397 453 route 0 1 2 3 4 5 6 7 8 9 10 11 12 13; -#X obj 428 475 tgl 15 0 empty ARDUINO_TEST_RESET 2 4 23 1 12 -232448 --1 -1 0 1; -#X obj 445 475 tgl 15 0 empty ARDUINO_TEST_RESET 3 4 23 1 12 -232448 --1 -1 0 1; -#X obj 462 475 tgl 15 0 empty ARDUINO_TEST_RESET 4 4 23 1 12 -232448 --1 -1 0 1; -#X obj 479 475 tgl 15 0 empty ARDUINO_TEST_RESET 5 4 23 1 12 -232448 --1 -1 0 1; -#X obj 496 475 tgl 15 0 empty ARDUINO_TEST_RESET 6 4 23 1 12 -232448 --1 -1 0 1; -#X obj 513 475 tgl 15 0 empty ARDUINO_TEST_RESET 7 4 23 1 12 -232448 --1 -1 0 1; -#X obj 530 475 tgl 15 0 empty ARDUINO_TEST_RESET 8 4 23 1 12 -232448 --1 -1 0 1; -#X obj 547 475 tgl 15 0 empty ARDUINO_TEST_RESET 9 4 23 1 12 -232448 --1 -1 0 1; -#X obj 564 475 tgl 15 0 empty ARDUINO_TEST_RESET 10 0 23 1 12 -232448 --1 -1 0 1; -#X obj 581 475 tgl 15 0 empty ARDUINO_TEST_RESET 11 0 23 1 12 -232448 --1 -1 0 1; -#X obj 598 475 tgl 15 0 empty ARDUINO_TEST_RESET 12 0 23 1 12 -232448 --1 -1 0 1; -#X obj 615 475 tgl 15 0 empty ARDUINO_TEST_RESET 13 0 23 1 12 -232448 --1 -1 0 1; -#X text 2 504 (C) Copyright 2006 Free Software Foundation; -#N canvas 3 48 451 224 ver 0; -#X obj 23 7 inlet; -#X obj 250 100 cnv 15 145 17 empty \$0-version_cnv empty 4 10 0 12 --203904 -1 0; -#X obj 23 157 send \$0-version_cnv; -#X msg 23 132 label \$1; -#X obj 48 103 symbol; -#X obj 38 77 loadbang; -#X msg 96 78 bang; -#X obj 309 163 outlet; -#X obj 23 52 zexy/makesymbol Firmata-%s.%s; -#X obj 23 29 route version bang; -#X connect 0 0 9 0; -#X connect 3 0 2 0; -#X connect 4 0 3 0; -#X connect 5 0 4 0; -#X connect 6 0 4 0; -#X connect 8 0 3 0; -#X connect 9 0 8 0; -#X connect 9 1 7 0; -#X connect 9 1 6 0; -#X connect 9 2 7 0; -#X coords 0 -1 1 1 145 17 1 250 100; -#X restore 397 337 pd ver; -#X obj 121 292 arduino 1; -#N canvas 649 518 411 212 firmware 0; -#X obj 123 2 inlet; -#X obj 250 100 cnv 15 145 17 empty \$0-firmware_cnv empty 4 10 0 12 --232576 -66577 0; -#X msg 123 156 label \$1; -#X obj 148 127 symbol; -#X obj 138 101 loadbang; -#X msg 196 102 bang; -#X obj 123 181 send \$0-firmware_cnv; -#X obj 123 24 route firmware; -#X obj 18 181 print Firmware; -#X obj 123 49 list; -#X obj 123 80 zexy/makesymbol %s-%s.%s; -#X obj 18 151 list trim; -#X obj 204 45 route bang; -#X connect 0 0 7 0; -#X connect 2 0 6 0; -#X connect 3 0 2 0; -#X connect 4 0 3 0; -#X connect 5 0 3 0; -#X connect 7 0 9 0; -#X connect 7 1 12 0; -#X connect 9 0 10 0; -#X connect 10 0 2 0; -#X connect 10 0 11 0; -#X connect 11 0 8 0; -#X connect 12 0 5 0; -#X coords 0 -1 1 1 145 17 1 250 100; -#X restore 397 357 pd firmware; -#X msg 121 192 devices; -#X msg 121 172 firmware; -#N canvas 0 22 450 300 STRING 0; -#X obj 48 13 inlet; -#X obj 51 93 moocow/string2any 32 -1; -#X obj 51 154 print STRING; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X restore 396 409 pd STRING; -#N canvas 205 22 593 390 strings 0; -#X obj -178 287 outlet; -#X obj -142 101 moocow/any2string; -#X symbolatom -92 48 10 0 0 0 - - -; -#X obj -119 179 pddp/print; -#X obj -92 68 list trim; -#X msg -175 39 test; -#X msg -139 40 TEST; -#X obj -142 130 cyclone/prepend string; -#X obj -313 102 moocow/any2string; -#X symbolatom -263 49 10 0 0 0 - - -; -#X obj -314 202 pddp/print; -#X obj -263 69 list trim; -#X msg -346 40 test; -#X msg -310 41 TEST; -#X obj -313 153 cyclone/prepend sysex; -#X obj -313 131 cyclone/prepend 40; -#X msg 66 117 samplingInterval \$1; -#X obj 69 93 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 0 1; -#X floatatom 27 117 5 0 0 0 - - -; -#X connect 1 0 7 0; -#X connect 2 0 4 0; -#X connect 4 0 1 0; -#X connect 5 0 1 0; -#X connect 6 0 1 0; -#X connect 7 0 3 0; -#X connect 7 0 0 0; -#X connect 8 0 15 0; -#X connect 9 0 11 0; -#X connect 11 0 8 0; -#X connect 12 0 8 0; -#X connect 13 0 8 0; -#X connect 14 0 0 0; -#X connect 14 0 10 0; -#X connect 15 0 14 0; -#X connect 16 0 0 0; -#X connect 17 0 16 0; -#X connect 17 0 18 0; -#X restore 183 245 pd strings and special messages; -#X text 397 503 released under the GNU GPL v2 or later; -#N canvas 626 98 404 287 device 0; -#X obj 35 60 inlet; -#X obj 35 118 route open port ports; -#X obj 35 169 tgl 15 0 empty empty open -3 20 0 10 -262144 -1 -1 0 -1; -#X floatatom 76 170 5 0 0 3 port - -; -#X obj 117 170 print comport_ports; -#X obj 252 170 outlet; -#X obj 235 74 receive ARDUINO_TEST_RESET; -#X obj 235 97 bang; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X connect 1 1 3 0; -#X connect 1 2 4 0; -#X connect 1 3 5 0; -#X connect 6 0 7 0; -#X connect 7 0 5 0; -#X restore 397 315 pd device info; -#N canvas 0 22 450 300 sysex 0; -#X obj 139 19 inlet; -#X obj 127 109 moocow/string2any 32 -1; -#X obj 127 170 print STRING; -#X obj 97 55 list split 1; -#X obj 40 109 print COMMAND; -#X obj 210 54 print sysex; -#X connect 0 0 3 0; -#X connect 0 0 5 0; -#X connect 1 0 2 0; -#X connect 3 0 4 0; -#X connect 3 1 1 0; -#X restore 461 409 pd sysex; -#X text 489 315 <- open to see info; -#N canvas 419 605 446 317 pinMode 0; -#X obj 94 267 outlet; -#X obj 122 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -2 2 -8 0 10 -261682 -1 -1 0; -#X obj 132 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -3 2 -8 0 10 -261682 -1 -1 0; -#X obj 142 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -4 2 -8 0 10 -261682 -1 -1 0; -#X obj 152 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -5 2 -8 0 10 -261682 -1 -1 0; -#X obj 162 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -6 2 -8 0 10 -261682 -1 -1 0; -#X obj 172 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -7 2 -8 0 10 -261682 -1 -1 0; -#X obj 182 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -8 2 -8 0 10 -261682 -1 -1 0; -#X obj 192 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -9 2 -8 0 10 -261682 -1 -1 0; -#X obj 202 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -10 0 -8 0 8 -261682 -1 -1 0; -#X obj 212 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -11 0 -8 0 8 -261682 -1 -1 0; -#X obj 222 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -12 0 -8 0 8 -261682 -1 -1 0; -#X obj 232 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -13 0 -8 0 8 -261682 -1 -1 0; -#X obj 242 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -14 0 -8 0 8 -261682 -1 -1 0; -#X obj 252 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -15 0 -8 0 8 -261682 -1 -1 0; -#X obj 262 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -16 0 -8 0 8 -261682 -1 -1 0; -#X obj 272 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -17 0 -8 0 8 -261682 -1 -1 0; -#X obj 282 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -18 0 -8 0 8 -261682 -1 -1 0; -#X obj 292 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -19 0 -8 0 8 -261682 -1 -1 0; -#X obj 302 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -20 0 -8 0 8 -261682 -1 -1 0; -#X obj 312 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -21 0 -8 0 8 -261682 -1 -1 0; -#N canvas 72 484 1069 446 send-to-arduino---------------------- 0; -#X obj 49 14 inlet; -#X obj 89 14 inlet; -#X obj 128 14 inlet; -#X obj 168 14 inlet; -#X obj 208 14 inlet; -#X obj 248 14 inlet; -#X obj 287 14 inlet; -#X obj 327 14 inlet; -#X obj 368 13 inlet; -#X obj 408 13 inlet; -#X obj 447 13 inlet; -#X obj 487 13 inlet; -#X obj 527 13 inlet; -#X msg 49 56 pinMode 0 \$1; -#X msg 89 78 pinMode 1 \$1; -#X msg 128 100 pinMode 2 \$1; -#X msg 168 120 pinMode 3 \$1; -#X msg 208 52 pinMode 4 \$1; -#X msg 248 74 pinMode 5 \$1; -#X msg 287 96 pinMode 6 \$1; -#X msg 327 116 pinMode 7 \$1; -#X msg 368 48 pinMode 8 \$1; -#X msg 408 70 pinMode 9 \$1; -#X msg 447 92 pinMode 10 \$1; -#X msg 487 112 pinMode 11 \$1; -#X msg 527 40 pinMode 12 \$1; -#X obj 566 13 inlet; -#X msg 566 60 pinMode 13 \$1; -#X obj 607 13 inlet; -#X obj 647 13 inlet; -#X obj 687 13 inlet; -#X obj 726 13 inlet; -#X obj 767 13 inlet; -#X obj 807 13 inlet; -#X obj 847 13 inlet; -#X obj 886 13 inlet; -#X msg 607 92 pinMode 14 \$1; -#X msg 647 112 pinMode 15 \$1; -#X msg 687 40 pinMode 16 \$1; -#X msg 726 60 pinMode 17 \$1; -#X msg 767 92 pinMode 18 \$1; -#X msg 807 112 pinMode 19 \$1; -#X msg 847 40 pinMode 20 \$1; -#X msg 886 60 pinMode 21 \$1; -#X obj 927 13 inlet; -#X obj 967 13 inlet; -#X msg 927 92 pinMode 22 \$1; -#X msg 967 112 pinMode 23 \$1; -#X obj 521 427 outlet; -#X obj 481 403 trigger bang anything; -#X obj 481 358 list prepend set; -#X obj 481 380 list trim; -#X obj 481 199 list; -#X obj 481 221 unpack symbol float float; -#X obj 481 331 pack symbol float symbol; -#X obj 622 311 symbol; -#X msg 659 284 analog; -#X msg 707 284 pwm; -#X msg 737 284 servo; -#X obj 739 364 list trim; -#X obj 739 341 list prepend WARNING Unsupported pin mode:; -#X obj 739 386 print [arduino]; -#X msg 568 284 input; -#X msg 609 284 output; -#X obj 628 240 - 1; -#X obj 628 259 select 0 1 2 3 4 -1; -#X text 757 258 (-1 == NONE); -#X connect 0 0 13 0; -#X connect 1 0 14 0; -#X connect 2 0 15 0; -#X connect 3 0 16 0; -#X connect 4 0 17 0; -#X connect 5 0 18 0; -#X connect 6 0 19 0; -#X connect 7 0 20 0; -#X connect 8 0 21 0; -#X connect 9 0 22 0; -#X connect 10 0 23 0; -#X connect 11 0 24 0; -#X connect 12 0 25 0; -#X connect 13 0 52 0; -#X connect 14 0 52 0; -#X connect 15 0 52 0; -#X connect 16 0 52 0; -#X connect 17 0 52 0; -#X connect 18 0 52 0; -#X connect 19 0 52 0; -#X connect 20 0 52 0; -#X connect 21 0 52 0; -#X connect 22 0 52 0; -#X connect 23 0 52 0; -#X connect 24 0 52 0; -#X connect 25 0 52 0; -#X connect 26 0 27 0; -#X connect 27 0 52 0; -#X connect 28 0 36 0; -#X connect 29 0 37 0; -#X connect 30 0 38 0; -#X connect 31 0 39 0; -#X connect 32 0 40 0; -#X connect 33 0 41 0; -#X connect 34 0 42 0; -#X connect 35 0 43 0; -#X connect 36 0 52 0; -#X connect 37 0 52 0; -#X connect 38 0 52 0; -#X connect 39 0 52 0; -#X connect 40 0 52 0; -#X connect 41 0 52 0; -#X connect 42 0 52 0; -#X connect 43 0 52 0; -#X connect 44 0 46 0; -#X connect 45 0 47 0; -#X connect 46 0 52 0; -#X connect 47 0 52 0; -#X connect 49 0 48 0; -#X connect 49 1 48 0; -#X connect 50 0 51 0; -#X connect 51 0 49 0; -#X connect 52 0 53 0; -#X connect 53 0 54 0; -#X connect 53 1 54 1; -#X connect 53 2 64 0; -#X connect 54 0 50 0; -#X connect 55 0 54 2; -#X connect 56 0 55 0; -#X connect 57 0 55 0; -#X connect 58 0 55 0; -#X connect 59 0 61 0; -#X connect 60 0 59 0; -#X connect 62 0 55 0; -#X connect 63 0 55 0; -#X connect 64 0 65 0; -#X connect 65 0 62 0; -#X connect 65 1 63 0; -#X connect 65 2 56 0; -#X connect 65 3 57 0; -#X connect 65 4 58 0; -#X connect 65 6 60 0; -#X restore 94 189 pd send-to-arduino----------------------; -#X obj 322 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -22 0 -8 0 8 -261682 -1 -1 0; -#X obj 332 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -23 0 -8 0 8 -261682 -1 -1 0; -#X obj 100 100 cnv 10 10 60 empty empty Rx 0 23 0 8 -191407 -86277 -0; -#X obj 111 100 cnv 10 10 60 empty empty Tx 0 23 0 8 -191407 -13381 -0; -#X connect 1 0 21 2; -#X connect 2 0 21 3; -#X connect 3 0 21 4; -#X connect 4 0 21 5; -#X connect 5 0 21 6; -#X connect 6 0 21 7; -#X connect 7 0 21 8; -#X connect 8 0 21 9; -#X connect 9 0 21 10; -#X connect 10 0 21 11; -#X connect 11 0 21 12; -#X connect 12 0 21 13; -#X connect 13 0 21 14; -#X connect 14 0 21 15; -#X connect 15 0 21 16; -#X connect 16 0 21 17; -#X connect 17 0 21 18; -#X connect 18 0 21 19; -#X connect 19 0 21 20; -#X connect 20 0 21 21; -#X connect 21 0 0 0; -#X connect 22 0 21 22; -#X connect 23 0 21 23; -#X coords 0 -1 1 1 242 60 2 100 100; -#X restore 239 50 pd pinMode; -#X text 486 95 servo; -#X text 486 85 pwm; -#X text 486 57 input; -#X text 486 66 output; -#X text 486 76 analog; -#N canvas 72 104 423 503 analog 0; -#X obj 38 10 inlet; -#X obj 131 10 inlet; -#X obj 38 259 pack float float; -#X obj 192 113 route float symbol; -#X obj 188 259 pack float symbol; -#X text 78 11 pin#; -#X text 179 10 PWM value or "off"; -#X obj 39 217 cyclone/gate 2; -#X msg 191 153 1; -#X msg 252 153 2; -#X obj 131 34 list; -#X obj 131 113 float; -#X obj 131 67 trigger bang anything; -#X obj 37 427 outlet; -#X obj 37 356 trigger bang anything; -#X obj 179 376 list; -#X msg 179 396 set \$1 \$2 \$3; -#X msg 37 308 analog \$1 \$2; -#X connect 0 0 11 0; -#X connect 1 0 10 0; -#X connect 2 0 17 0; -#X connect 3 0 8 0; -#X connect 3 0 2 1; -#X connect 3 1 9 0; -#X connect 3 1 4 1; -#X connect 4 0 17 0; -#X connect 7 0 2 0; -#X connect 7 1 4 0; -#X connect 8 0 7 0; -#X connect 9 0 7 0; -#X connect 10 0 12 0; -#X connect 11 0 7 1; -#X connect 12 0 11 0; -#X connect 12 1 3 0; -#X connect 14 0 13 0; -#X connect 14 1 15 0; -#X connect 15 0 16 0; -#X connect 16 0 13 0; -#X connect 17 0 14 0; -#X restore 413 196 pd analog; -#X obj 394 475 tgl 15 0 empty ARDUINO_TEST_RESET 0 4 23 1 12 -232448 --1 -1 0 1; -#X obj 411 475 tgl 15 0 empty ARDUINO_TEST_RESET 1 4 23 1 12 -232448 --1 -1 0 1; -#N canvas 0 22 450 300 old 0; -#X msg 95 138 digitalIns 0 0; -#X msg 88 77 analogIns 0 0; -#N canvas 162 133 610 460 serin 0; -#X obj 59 337 outlet; -#X obj 59 266 trigger bang anything; -#X obj 201 286 list; -#X obj 60 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 0 5 9 1 -12 -262130 -1 -1 0 1; -#X obj 75 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 1 5 9 1 -12 -262130 -1 -1 0 1; -#X obj 90 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 2 5 9 1 -12 -262130 -1 -1 0 1; -#X obj 105 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 3 5 9 -1 12 -262130 -1 -1 0 1; -#X obj 120 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 4 5 9 -1 12 -262130 -1 -1 0 1; -#X obj 135 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 5 5 9 -1 12 -262130 -1 -1 0 1; -#X obj 150 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 6 5 9 -1 12 -262130 -1 -1 0 1; -#X obj 165 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 7 5 9 -1 12 -262130 -1 -1 0 1; -#X msg 59 210 analogIns \$1 \$2; -#X msg 35 106 0 \$1; -#X msg 70 106 1 \$1; -#X msg 105 106 2 \$1; -#X msg 140 106 3 \$1; -#X msg 175 106 4 \$1; -#X msg 210 106 5 \$1; -#X msg 245 106 6 \$1; -#X msg 280 106 7 \$1; -#X msg 202 307 set \$1 \$2 \$3; -#X connect 1 0 0 0; -#X connect 1 1 2 0; -#X connect 2 0 20 0; -#X connect 3 0 12 0; -#X connect 4 0 13 0; -#X connect 5 0 14 0; -#X connect 6 0 15 0; -#X connect 7 0 16 0; -#X connect 8 0 17 0; -#X connect 9 0 18 0; -#X connect 10 0 19 0; -#X connect 11 0 1 0; -#X connect 12 0 11 0; -#X connect 13 0 11 0; -#X connect 14 0 11 0; -#X connect 15 0 11 0; -#X connect 16 0 11 0; -#X connect 17 0 11 0; -#X connect 18 0 11 0; -#X connect 19 0 11 0; -#X connect 20 0 0 0; -#X coords 0 -1 1 1 120 16 1 60 60; -#X restore 88 55 pd serin; -#X text 87 38 which analogIns to enable:; -#X text 94 101 which digital ports to enable:; -#N canvas 162 133 610 460 seri 0; -#X obj 59 337 outlet; -#X obj 59 266 trigger bang anything; -#X obj 201 286 list; -#X obj 60 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 0 5 9 1 -12 -260736 -1 -1 0 1; -#X obj 75 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 1 5 9 1 -12 -260736 -1 -1 0 1; -#X obj 90 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 2 5 9 1 -12 -260736 -1 -1 0 1; -#X msg 35 106 0 \$1; -#X msg 70 106 1 \$1; -#X msg 105 106 2 \$1; -#X msg 202 307 set \$1 \$2 \$3; -#X msg 59 210 digitalIns \$1 \$2; -#X connect 1 0 0 0; -#X connect 1 1 2 0; -#X connect 2 0 9 0; -#X connect 3 0 6 0; -#X connect 4 0 7 0; -#X connect 5 0 8 0; -#X connect 6 0 10 0; -#X connect 7 0 10 0; -#X connect 8 0 10 0; -#X connect 9 0 0 0; -#X connect 10 0 1 0; -#X coords 0 -1 1 1 45 16 1 60 60; -#X restore 95 118 pd seri; -#X obj 42 179 outlet; -#X connect 0 0 6 0; -#X connect 1 0 6 0; -#X connect 2 0 1 0; -#X connect 5 0 0 0; -#X restore 183 222 pd old analog/digital controls; -#X text 185 150 <-- get protocol version; -#X text 185 170 <-- get firmware name and version; -#X text 185 131 <-- get connection info; -#X text 181 291 <-- argument sets port #; -#X text 8 1 The [arduino] object works with the Firmata firmware.; -#X text 89 31 configure mode for each pin:; -#X text 185 190 <-- list available serial devices; -#X text 429 248 <-- pulse all outputs; -#X text 203 477 digital inputs show up here -->; -#X text 9 389 analog inputs:; -#X text 486 46 NONE; -#X obj 121 324 route analog digital string sysex; -#X msg 28 92 open 1; -#X text 418 155 switch pin to 'pwm' or 'servo' first; -#X msg 413 218; -#X msg 239 114; -#X connect 3 0 83 0; -#X connect 3 1 5 0; -#X connect 5 0 51 0; -#X connect 6 0 67 1; -#X connect 13 0 67 0; -#X connect 28 0 51 0; -#X connect 29 0 51 0; -#X connect 30 0 51 0; -#X connect 31 0 30 0; -#X connect 34 0 35 0; -#X connect 34 1 35 1; -#X connect 34 2 35 2; -#X connect 34 3 35 3; -#X connect 34 4 35 4; -#X connect 34 5 35 5; -#X connect 34 6 35 6; -#X connect 34 7 35 7; -#X connect 35 0 7 0; -#X connect 35 1 8 0; -#X connect 35 2 9 0; -#X connect 35 3 10 0; -#X connect 35 4 11 0; -#X connect 35 5 12 0; -#X connect 35 6 32 0; -#X connect 35 7 33 0; -#X connect 36 0 68 0; -#X connect 36 1 69 0; -#X connect 36 2 37 0; -#X connect 36 3 38 0; -#X connect 36 4 39 0; -#X connect 36 5 40 0; -#X connect 36 6 41 0; -#X connect 36 7 42 0; -#X connect 36 8 43 0; -#X connect 36 9 44 0; -#X connect 36 10 45 0; -#X connect 36 11 46 0; -#X connect 36 12 47 0; -#X connect 36 13 48 0; -#X connect 50 0 52 0; -#X connect 51 0 82 0; -#X connect 51 1 58 0; -#X connect 53 0 51 0; -#X connect 54 0 51 0; -#X connect 56 0 51 0; -#X connect 58 0 50 0; -#X connect 61 0 86 0; -#X connect 67 0 85 0; -#X connect 70 0 51 0; -#X connect 82 0 34 0; -#X connect 82 1 36 0; -#X connect 82 2 55 0; -#X connect 82 3 59 0; -#X connect 83 0 51 0; -#X connect 85 0 51 0; -#X connect 86 0 51 0; diff --git a/arduino.pd b/arduino.pd deleted file mode 100644 index e78ac97..0000000 --- a/arduino.pd +++ /dev/null @@ -1,999 +0,0 @@ -#N canvas 139 310 585 366 10; -#X obj 32 26 inlet; -#X obj 32 304 outlet; -#X obj 515 304 outlet; -#N canvas 203 350 822 340 command 0; -#X obj 24 7 inlet; -#X obj 299 298 outlet; -#N canvas 631 434 547 478 digital-out 0; -#X obj 4 15 inlet; -#X obj 284 440 outlet; -#X msg 373 158 \$1; -#X text 402 157 add channel to command; -#X text 411 201 0x90; -#X obj 373 202 + 144; -#X obj 373 180 div 8; -#X obj 212 391 float; -#X obj 145 391 float; -#X obj 459 16 inlet; -#X text 339 15 state from port-out; -#X msg 157 84 \$2; -#X obj 236 143 <<; -#X msg 236 122 1 \$1; -#X obj 284 242 * 8; -#X obj 172 371 >> 7; -#X obj 239 371 & 127; -#X obj 249 314 &; -#X msg 290 267 255 \$1; -#X obj 290 288 <<; -#X obj 5 55 trigger bang bang bang anything anything anything; -#X obj 194 255 float; -#X obj 255 338 >>; -#X obj 223 215 |; -#X obj 219 173 float; -#X obj 158 172 float; -#X obj 157 115 select 0 1; -#X obj 85 215 expr ~$f1 & $f2; -#X floatatom 462 49 0 0 0 0 - - -; -#X connect 0 0 20 0; -#X connect 2 0 6 0; -#X connect 5 0 1 0; -#X connect 6 0 5 0; -#X connect 6 0 14 0; -#X connect 7 0 1 0; -#X connect 8 0 1 0; -#X connect 9 0 23 0; -#X connect 9 0 28 0; -#X connect 11 0 26 0; -#X connect 12 0 24 1; -#X connect 12 0 25 1; -#X connect 13 0 12 0; -#X connect 14 0 18 0; -#X connect 14 0 22 1; -#X connect 15 0 8 1; -#X connect 16 0 7 1; -#X connect 17 0 22 0; -#X connect 18 0 19 0; -#X connect 19 0 17 1; -#X connect 20 0 8 0; -#X connect 20 1 7 0; -#X connect 20 3 11 0; -#X connect 20 4 13 0; -#X connect 20 5 2 0; -#X connect 21 0 23 1; -#X connect 21 0 27 1; -#X connect 21 0 17 0; -#X connect 22 0 16 0; -#X connect 22 0 15 0; -#X connect 23 0 21 0; -#X connect 24 0 23 0; -#X connect 25 0 27 0; -#X connect 26 0 25 0; -#X connect 26 1 24 0; -#X connect 27 0 21 0; -#X restore 326 122 pd digital-out; -#N canvas 49 460 541 377 pinMode 0; -#X obj 51 8 inlet; -#X obj 51 350 outlet; -#X text 141 54 pin#; -#X text 321 56 mode; -#X obj 174 147 moses 128; -#X msg 51 227 244; -#X text 194 131 do bounds checking to be safe; -#X obj 51 252 pack float float float; -#X obj 279 147 moses 128; -#X obj 225 255 bang; -#X obj 225 320 list trim; -#X obj 225 300 list prepend ERROR:; -#X msg 225 275 pinMode pin# greater than 127; -#X obj 330 213 bang; -#X msg 330 233 pinMode mode greater than 127; -#X obj 225 340 print [arduino]; -#N canvas 580 301 396 304 turn 0; -#X obj 123 21 inlet; -#X obj 43 21 inlet; -#X obj 123 78 select 0; -#X text 178 78 INPUT; -#X obj 215 252 outlet; -#X obj 110 135 spigot; -#X msg 123 109 1; -#X obj 215 180 >> 3; -#X obj 110 158 trigger bang float; -#X msg 152 109 0; -#X text 254 201 0xD0; -#X obj 215 201 + 208; -#X obj 215 228 pack float 1; -#X text 42 202 generate digitalIns message; -#X connect 0 0 2 0; -#X connect 1 0 5 0; -#X connect 2 0 6 0; -#X connect 5 0 8 0; -#X connect 6 0 5 1; -#X connect 7 0 11 0; -#X connect 8 0 9 0; -#X connect 8 1 7 0; -#X connect 9 0 5 1; -#X connect 11 0 12 0; -#X connect 12 0 4 0; -#X restore 174 184 pd turn digital reporting on; -#X obj 51 32 trigger bang anything; -#X obj 174 55 zexy/unpack float float; -#X obj 309 78 route float symbol; -#N canvas 0 22 450 300 s2f 0; -#X obj 72 14 inlet; -#X obj 72 265 outlet; -#X obj 72 69 select input output analog pwm servo; -#X obj 285 262 outlet; -#X msg 72 95 0; -#X msg 114 95 1; -#X msg 157 95 2; -#X msg 199 95 3; -#X msg 242 95 4; -#X connect 0 0 2 0; -#X connect 2 0 4 0; -#X connect 2 1 5 0; -#X connect 2 2 6 0; -#X connect 2 3 7 0; -#X connect 2 4 8 0; -#X connect 2 5 3 0; -#X connect 4 0 1 0; -#X connect 5 0 1 0; -#X connect 6 0 1 0; -#X connect 7 0 1 0; -#X connect 8 0 1 0; -#X restore 361 99 pd s2f; -#X obj 414 120 list; -#X msg 414 141 unknown pinMode: \$1; -#X connect 0 0 17 0; -#X connect 4 0 7 1; -#X connect 4 0 16 0; -#X connect 4 1 9 0; -#X connect 5 0 7 0; -#X connect 7 0 1 0; -#X connect 8 0 7 2; -#X connect 8 0 16 1; -#X connect 8 1 13 0; -#X connect 9 0 12 0; -#X connect 10 0 15 0; -#X connect 11 0 10 0; -#X connect 12 0 11 0; -#X connect 13 0 14 0; -#X connect 14 0 11 0; -#X connect 16 0 1 0; -#X connect 17 0 5 0; -#X connect 17 1 18 0; -#X connect 18 0 4 0; -#X connect 18 1 19 0; -#X connect 19 0 8 0; -#X connect 19 1 20 0; -#X connect 19 2 21 0; -#X connect 20 0 8 0; -#X connect 20 1 21 0; -#X connect 21 0 22 0; -#X connect 22 0 11 0; -#X restore 238 94 pd pinMode; -#N canvas 300 373 372 380 pwm 0; -#X obj 44 14 inlet; -#X obj 44 312 outlet; -#X obj 44 79 unpack float float; -#X obj 44 124 + 224; -#X text 78 125 0xE0; -#X obj 44 212 pack float float float; -#X obj 149 126 * 255; -#X obj 173 165 >> 7; -#X obj 108 165 & 127; -#X connect 0 0 2 0; -#X connect 2 0 3 0; -#X connect 2 1 6 0; -#X connect 3 0 5 0; -#X connect 5 0 1 0; -#X connect 6 0 7 0; -#X connect 6 0 8 0; -#X connect 7 0 5 2; -#X connect 8 0 5 1; -#X restore 24 94 pd pwm; -#X msg 307 94 info; -#X msg 500 136 249; -#N canvas 0 22 462 312 analogIns 0; -#X obj 64 7 inlet; -#X obj 64 263 outlet; -#X obj 64 65 unpack float float; -#X obj 64 175 pack float float; -#X obj 169 95 select 0; -#X obj 214 118 bang; -#X msg 214 140 1; -#X msg 169 117 0; -#X obj 64 124 + 192; -#X obj 64 95 moses 16; -#X text 100 123 0xC0; -#X connect 0 0 2 0; -#X connect 2 0 9 0; -#X connect 2 1 4 0; -#X connect 3 0 1 0; -#X connect 4 0 7 0; -#X connect 4 1 5 0; -#X connect 5 0 6 0; -#X connect 6 0 3 1; -#X connect 7 0 3 1; -#X connect 8 0 3 0; -#X connect 9 0 8 0; -#X restore 69 94 pd analogIns; -#N canvas 592 91 341 294 digitalIns 0; -#X obj 87 26 inlet; -#X obj 87 250 outlet; -#X text 126 117 0xD0; -#X obj 87 90 unpack float float; -#X obj 87 146 pack float float; -#X obj 87 117 + 208; -#X connect 0 0 3 0; -#X connect 3 0 5 0; -#X connect 3 1 4 1; -#X connect 4 0 1 0; -#X connect 5 0 4 0; -#X restore 150 94 pd digitalIns; -#X obj 500 116 bang; -#X obj 536 116 bang; -#X obj 24 51 route pwm analog analogIns digitalIns pinMode info; -#N canvas 626 419 451 466 sysex 0; -#X obj 62 424 outlet; -#X obj 28 22 inlet; -#X obj 28 145 list split 1; -#X obj 62 321 list prepend; -#X obj 62 177 route bang; -#X text 68 22 sysex; -#X obj 250 22 inlet; -#X text 286 21 string; -#X obj 250 155 trigger anything bang; -#X text 398 176 0x71; -#X msg 373 177 113; -#N canvas 366 192 467 461 split 0; -#X text 87 12 Firmata sends 8-bit chars as two 7-bit bytes; -#X obj 32 12 inlet; -#X obj 50 422 outlet; -#X obj 168 173 list; -#X obj 50 361 mapping/tolist; -#X obj 189 112 route bang; -#X obj 189 137 bang; -#X obj 32 311 trigger bang bang; -#X obj 32 54 trigger bang anything; -#X obj 155 89 list split 1; -#X obj 110 208 trigger bang anything anything; -#X text 256 191 LSB; -#X obj 226 298 % 128; -#X text 267 297 only 7-bits of data allowed; -#X text 204 190 MSB; -#X obj 198 234 >> 7; -#X text 235 137 bang resets once finished; -#X connect 1 0 8 0; -#X connect 3 0 9 0; -#X connect 4 0 2 0; -#X connect 5 0 6 0; -#X connect 5 1 3 1; -#X connect 6 0 3 1; -#X connect 7 0 4 0; -#X connect 7 1 4 1; -#X connect 8 0 7 0; -#X connect 8 1 9 0; -#X connect 9 0 10 0; -#X connect 9 1 5 0; -#X connect 10 0 3 0; -#X connect 10 1 15 0; -#X connect 10 2 12 0; -#X connect 12 0 4 0; -#X connect 15 0 12 0; -#X restore 119 212 pd split into 7-bit bytes; -#X obj 62 344 list prepend 240; -#X text 168 345 0xF0 start_sysex; -#X text 167 366 0xF7 end_sysex; -#X obj 62 366 list append 247; -#X obj 28 66 trigger anything anything; -#X msg 175 87 \$1; -#X connect 1 0 16 0; -#X connect 2 1 4 0; -#X connect 3 0 12 0; -#X connect 4 0 3 0; -#X connect 4 1 11 0; -#X connect 6 0 8 0; -#X connect 8 0 11 0; -#X connect 8 1 10 0; -#X connect 10 0 3 1; -#X connect 11 0 3 0; -#X connect 12 0 15 0; -#X connect 15 0 0 0; -#X connect 16 0 2 0; -#X connect 16 1 17 0; -#X connect 17 0 3 1; -#X restore 697 136 pd sysex; -#X obj 697 114 route sysex string; -#N canvas 107 510 569 343 port-out 0; -#X obj 13 15 inlet; -#X obj 167 281 outlet; -#X msg 244 82 \$1; -#X text 343 149 add channel to command; -#X text 309 190 0x90; -#X obj 271 191 + 144; -#X obj 244 129 moses; -#X obj 13 55 trigger bang anything anything anything; -#X obj 271 149 moses 16; -#X obj 353 219 print [arduino]; -#X msg 353 197 ERROR: no such channel: \$1; -#X msg 167 82 \$2; -#X msg 90 82 \$2; -#X obj 167 129 & 127; -#X obj 90 130 & 128; -#X obj 90 151 == 128; -#X obj 21 285 outlet; -#X obj 36 230 * 8; -#X obj 21 251 <<; -#X connect 0 0 7 0; -#X connect 2 0 6 0; -#X connect 5 0 1 0; -#X connect 6 0 10 0; -#X connect 6 1 8 0; -#X connect 7 1 12 0; -#X connect 7 2 11 0; -#X connect 7 3 2 0; -#X connect 8 0 5 0; -#X connect 8 0 17 0; -#X connect 8 1 10 0; -#X connect 10 0 9 0; -#X connect 11 0 13 0; -#X connect 12 0 14 0; -#X connect 12 0 18 0; -#X connect 13 0 1 0; -#X connect 14 0 15 0; -#X connect 15 0 1 0; -#X connect 17 0 18 1; -#X connect 18 0 16 0; -#X restore 425 122 pd port-out; -#X obj 361 77 route digital port version firmware samplingInterval -; -#N canvas 429 448 450 300 samplingInterval 0; -#X obj 39 252 outlet; -#X obj 38 21 inlet; -#X text 156 54 LSB; -#X obj 39 131 % 128; -#X text 103 54 MSB; -#X obj 39 107 >> 7; -#X obj 39 153 pack float float; -#X obj 132 130 % 128; -#X text 172 129 only 7-bit chunks of data allowed; -#X msg 39 188 240 122 \$2 \$1 247; -#X text 152 189 START_SYSEX 0x7A LSB MSB END_SYSEX; -#X obj 39 71 trigger anything anything; -#X connect 1 0 11 0; -#X connect 3 0 6 0; -#X connect 5 0 3 0; -#X connect 6 0 9 0; -#X connect 7 0 6 1; -#X connect 9 0 0 0; -#X connect 11 0 5 0; -#X connect 11 1 7 0; -#X restore 572 110 pd samplingInterval; -#X msg 536 137 240 121 247; -#X connect 0 0 11 0; -#X connect 2 0 1 0; -#X connect 3 0 1 0; -#X connect 4 0 1 0; -#X connect 5 0 1 0; -#X connect 6 0 1 0; -#X connect 7 0 1 0; -#X connect 8 0 1 0; -#X connect 9 0 6 0; -#X connect 10 0 17 0; -#X connect 11 0 4 0; -#X connect 11 1 4 0; -#X connect 11 2 7 0; -#X connect 11 3 8 0; -#X connect 11 4 3 0; -#X connect 11 5 5 0; -#X connect 11 6 15 0; -#X connect 12 0 1 0; -#X connect 13 0 12 0; -#X connect 13 1 12 1; -#X connect 13 2 1 0; -#X connect 14 0 2 1; -#X connect 14 1 1 0; -#X connect 15 0 2 0; -#X connect 15 1 14 0; -#X connect 15 2 9 0; -#X connect 15 3 10 0; -#X connect 15 4 16 0; -#X connect 15 5 13 0; -#X connect 16 0 1 0; -#X connect 17 0 1 0; -#X restore 32 59 pd command processing; -#X text 28 8 processed input; -#N canvas 0 22 395 210 report 0; -#X obj 62 21 inlet; -#X obj 62 50 route open; -#X obj 62 74 select 1; -#X obj 63 161 outlet; -#X msg 62 126 version; -#X text 133 101 wait for the Diecimila to reset; -#X obj 62 100 delay 2000; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X connect 2 0 6 0; -#X connect 4 0 3 0; -#X connect 6 0 4 0; -#X restore 202 120 pd report firmware version; -#N canvas 590 536 467 421 make 0; -#X obj 28 6 inlet; -#X obj 184 377 outlet; -#X obj 28 52 moses 128; -#X obj 130 100 trigger float float; -#N canvas 459 531 653 358 set 0; -#X obj 26 3 inlet; -#X obj 34 307 outlet; -#X text 85 31 0xF0; -#X obj 26 31 moses 240; -#X text 79 307 length in byte count; -#X msg 283 122 2; -#X obj 26 60 & 240; -#X obj 26 101 select 144 160 176 192 208 224; -#X text 29 86 0x90 0xA0 0xB0 0xC0 0xD0 0xE0; -#X msg 251 122 2; -#X text 282 83 0xF4 0xF9; -#X obj 195 242 print [arduino]_WARNING_currently_unsupported; -#X msg 55 122 160; -#X msg 26 122 2; -#X msg 85 122 176; -#X msg 114 122 1; -#X msg 144 122 1; -#X msg 173 122 2; -#X text 348 69 sysex; -#X msg 315 122 999999; -#X text 362 121 <-- sets sysex size limit; -#X text 62 60 strip channel info; -#X text 342 83 0xF0; -#X obj 251 101 select 244 249 240; -#X connect 0 0 3 0; -#X connect 3 0 6 0; -#X connect 3 1 23 0; -#X connect 5 0 1 0; -#X connect 6 0 7 0; -#X connect 7 0 13 0; -#X connect 7 1 12 0; -#X connect 7 2 14 0; -#X connect 7 3 15 0; -#X connect 7 4 16 0; -#X connect 7 5 17 0; -#X connect 9 0 1 0; -#X connect 12 0 11 0; -#X connect 13 0 1 0; -#X connect 14 0 11 0; -#X connect 15 0 1 0; -#X connect 16 0 1 0; -#X connect 17 0 1 0; -#X connect 19 0 1 0; -#X connect 23 0 9 0; -#X connect 23 1 5 0; -#X connect 23 2 19 0; -#X restore 241 127 pd set message length; -#X obj 184 298 mapping/tolist; -#X obj 79 250 select 0; -#X obj 79 228 float; -#X obj 117 228 - 1; -#X obj 79 178 trigger bang float; -#X text 89 52 only process command bytes; -#X text 140 78 end of sysex; -#X obj 79 79 route 247; -#X obj 79 100 bang; -#X connect 0 0 2 0; -#X connect 2 0 9 0; -#X connect 2 1 12 0; -#X connect 3 0 9 0; -#X connect 3 1 4 0; -#X connect 4 0 7 1; -#X connect 5 0 1 0; -#X connect 6 0 5 1; -#X connect 7 0 8 0; -#X connect 7 0 6 0; -#X connect 8 0 7 1; -#X connect 9 0 7 0; -#X connect 9 1 5 0; -#X connect 12 0 13 0; -#X connect 12 1 3 0; -#X connect 13 0 5 1; -#X restore 32 201 pd make lists; -#N canvas 0 22 525 269 check 0; -#X obj 47 62 inlet; -#X obj 47 88 route version; -#X obj 87 119 unpack float float; -#X obj 132 163 print [arduino]_WARNING_INCOMPATIBLE_FIRMWARE_VERSION -; -#X obj 47 192 print Arduino/Firmata_version; -#X obj 87 141 select 2; -#X text 142 142 <-- sets the protocol major version this is compatible -with; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X connect 1 0 4 0; -#X connect 2 0 5 0; -#X connect 5 1 3 0; -#X restore 52 257 pd check version; -#X obj 32 143 comport \$1 57600; -#N canvas 195 186 541 319 convert 0; -#X obj 142 278 outlet; -#X obj 340 150 print UNKNOWN_INPUT_COMMAND; -#N canvas 126 79 1177 383 digital 0; -#X obj 407 4 inlet; -#X obj 412 352 outlet; -#X obj 33 104 mapping/debytemask; -#X obj 407 48 route 0 1 2 3 4 5 6 7; -#X msg 33 132 digital 0 \$1; -#X msg 42 152 digital 1 \$1; -#X msg 51 172 digital 2 \$1; -#X msg 58 192 digital 3 \$1; -#X msg 65 212 digital 4 \$1; -#X msg 71 232 digital 5 \$1; -#X msg 78 252 digital 6 \$1; -#X msg 86 273 digital 7 \$1; -#X obj 33 298 trigger anything; -#X obj 173 104 mapping/debytemask; -#X obj 173 298 trigger anything; -#X obj 313 104 mapping/debytemask; -#X obj 313 298 trigger anything; -#X obj 453 104 mapping/debytemask; -#X obj 453 298 trigger anything; -#X obj 593 104 mapping/debytemask; -#X obj 593 298 trigger anything; -#X obj 733 104 mapping/debytemask; -#X obj 733 298 trigger anything; -#X obj 873 104 mapping/debytemask; -#X obj 873 298 trigger anything; -#X obj 1013 104 mapping/debytemask; -#X obj 1013 298 trigger anything; -#X msg 173 132 digital 8 \$1; -#X msg 182 152 digital 9 \$1; -#X msg 191 172 digital 10 \$1; -#X msg 198 192 digital 11 \$1; -#X msg 205 212 digital 12 \$1; -#X msg 211 232 digital 13 \$1; -#X msg 218 252 digital 14 \$1; -#X msg 226 273 digital 15 \$1; -#X msg 313 132 digital 16 \$1; -#X msg 322 152 digital 17 \$1; -#X msg 331 172 digital 18 \$1; -#X msg 338 192 digital 19 \$1; -#X msg 345 212 digital 20 \$1; -#X msg 351 232 digital 21 \$1; -#X msg 358 252 digital 22 \$1; -#X msg 366 273 digital 23 \$1; -#X msg 453 132 digital 24 \$1; -#X msg 462 152 digital 25 \$1; -#X msg 471 172 digital 26 \$1; -#X msg 478 192 digital 27 \$1; -#X msg 485 212 digital 28 \$1; -#X msg 491 232 digital 29 \$1; -#X msg 498 252 digital 30 \$1; -#X msg 506 273 digital 31 \$1; -#X msg 593 132 digital 32 \$1; -#X msg 602 152 digital 33 \$1; -#X msg 611 172 digital 34 \$1; -#X msg 618 192 digital 35 \$1; -#X msg 625 212 digital 36 \$1; -#X msg 631 232 digital 37 \$1; -#X msg 638 252 digital 38 \$1; -#X msg 646 273 digital 39 \$1; -#X msg 733 132 digital 40 \$1; -#X msg 742 152 digital 41 \$1; -#X msg 751 172 digital 42 \$1; -#X msg 758 192 digital 43 \$1; -#X msg 765 212 digital 44 \$1; -#X msg 771 232 digital 45 \$1; -#X msg 778 252 digital 46 \$1; -#X msg 786 273 digital 47 \$1; -#X msg 873 132 digital 48 \$1; -#X msg 882 152 digital 49 \$1; -#X msg 891 172 digital 50 \$1; -#X msg 898 192 digital 51 \$1; -#X msg 905 212 digital 52 \$1; -#X msg 911 232 digital 53 \$1; -#X msg 918 252 digital 54 \$1; -#X msg 926 273 digital 55 \$1; -#X msg 1013 132 digital 56 \$1; -#X msg 1022 152 digital 57 \$1; -#X msg 1030 172 digital 58 \$1; -#X msg 1038 192 digital 59 \$1; -#X msg 1045 212 digital 60 \$1; -#X msg 1051 232 digital 61 \$1; -#X msg 1058 252 digital 62 \$1; -#X msg 1066 273 digital 63 \$1; -#X connect 0 0 3 0; -#X connect 2 0 4 0; -#X connect 2 1 5 0; -#X connect 2 2 6 0; -#X connect 2 3 7 0; -#X connect 2 4 8 0; -#X connect 2 5 9 0; -#X connect 2 6 10 0; -#X connect 2 7 11 0; -#X connect 3 0 2 0; -#X connect 3 1 13 0; -#X connect 3 2 15 0; -#X connect 3 3 17 0; -#X connect 3 4 19 0; -#X connect 3 5 21 0; -#X connect 3 6 23 0; -#X connect 3 7 25 0; -#X connect 4 0 12 0; -#X connect 5 0 12 0; -#X connect 6 0 12 0; -#X connect 7 0 12 0; -#X connect 8 0 12 0; -#X connect 9 0 12 0; -#X connect 10 0 12 0; -#X connect 11 0 12 0; -#X connect 12 0 1 0; -#X connect 13 0 27 0; -#X connect 13 1 28 0; -#X connect 13 2 29 0; -#X connect 13 3 30 0; -#X connect 13 4 31 0; -#X connect 13 5 32 0; -#X connect 13 6 33 0; -#X connect 13 7 34 0; -#X connect 14 0 1 0; -#X connect 15 0 35 0; -#X connect 15 1 36 0; -#X connect 15 2 37 0; -#X connect 15 3 38 0; -#X connect 15 4 39 0; -#X connect 15 5 40 0; -#X connect 15 6 41 0; -#X connect 15 7 42 0; -#X connect 16 0 1 0; -#X connect 17 0 43 0; -#X connect 17 1 44 0; -#X connect 17 2 45 0; -#X connect 17 3 46 0; -#X connect 17 4 47 0; -#X connect 17 5 48 0; -#X connect 17 6 49 0; -#X connect 17 7 50 0; -#X connect 18 0 1 0; -#X connect 19 0 51 0; -#X connect 19 1 52 0; -#X connect 19 2 53 0; -#X connect 19 3 54 0; -#X connect 19 4 55 0; -#X connect 19 5 56 0; -#X connect 19 6 57 0; -#X connect 19 7 58 0; -#X connect 20 0 1 0; -#X connect 21 0 59 0; -#X connect 21 1 60 0; -#X connect 21 2 61 0; -#X connect 21 3 62 0; -#X connect 21 4 63 0; -#X connect 21 5 64 0; -#X connect 21 6 65 0; -#X connect 21 7 66 0; -#X connect 22 0 1 0; -#X connect 23 0 67 0; -#X connect 23 1 68 0; -#X connect 23 2 69 0; -#X connect 23 3 70 0; -#X connect 23 4 71 0; -#X connect 23 5 72 0; -#X connect 23 6 73 0; -#X connect 23 7 74 0; -#X connect 24 0 1 0; -#X connect 25 0 75 0; -#X connect 25 1 76 0; -#X connect 25 2 77 0; -#X connect 25 3 78 0; -#X connect 25 4 79 0; -#X connect 25 5 80 0; -#X connect 25 6 81 0; -#X connect 25 7 82 0; -#X connect 26 0 1 0; -#X connect 27 0 14 0; -#X connect 28 0 14 0; -#X connect 29 0 14 0; -#X connect 30 0 14 0; -#X connect 31 0 14 0; -#X connect 32 0 14 0; -#X connect 33 0 14 0; -#X connect 34 0 14 0; -#X connect 35 0 16 0; -#X connect 36 0 16 0; -#X connect 37 0 16 0; -#X connect 38 0 16 0; -#X connect 39 0 16 0; -#X connect 40 0 16 0; -#X connect 41 0 16 0; -#X connect 42 0 16 0; -#X connect 43 0 18 0; -#X connect 44 0 18 0; -#X connect 45 0 18 0; -#X connect 46 0 18 0; -#X connect 47 0 18 0; -#X connect 48 0 18 0; -#X connect 49 0 18 0; -#X connect 50 0 18 0; -#X connect 51 0 20 0; -#X connect 52 0 20 0; -#X connect 53 0 20 0; -#X connect 54 0 20 0; -#X connect 55 0 20 0; -#X connect 56 0 20 0; -#X connect 57 0 20 0; -#X connect 58 0 20 0; -#X connect 59 0 22 0; -#X connect 60 0 22 0; -#X connect 61 0 22 0; -#X connect 62 0 22 0; -#X connect 63 0 22 0; -#X connect 64 0 22 0; -#X connect 65 0 22 0; -#X connect 66 0 22 0; -#X connect 67 0 24 0; -#X connect 68 0 24 0; -#X connect 69 0 24 0; -#X connect 70 0 24 0; -#X connect 71 0 24 0; -#X connect 72 0 24 0; -#X connect 73 0 24 0; -#X connect 74 0 24 0; -#X connect 75 0 26 0; -#X connect 76 0 26 0; -#X connect 77 0 26 0; -#X connect 78 0 26 0; -#X connect 79 0 26 0; -#X connect 80 0 26 0; -#X connect 81 0 26 0; -#X connect 82 0 26 0; -#X restore 205 174 pd digital messages; -#N canvas 234 399 335 267 analog 0; -#X obj 65 16 inlet; -#X obj 65 213 outlet; -#X msg 65 150 analog \$1 \$2; -#X obj 65 129 pack float float; -#X obj 158 103 / 1023; -#X text 203 104 scale to 0-1; -#X obj 65 71 unpack float float; -#X connect 0 0 6 0; -#X connect 2 0 1 0; -#X connect 3 0 2 0; -#X connect 4 0 3 1; -#X connect 6 0 3 0; -#X connect 6 1 4 0; -#X restore 342 174 pd analog messages; -#X obj 97 13 inlet; -#N canvas 476 232 420 451 sysex 0; -#X obj 55 16 inlet; -#X obj 55 403 outlet; -#N canvas 1036 237 450 300 firmware 0; -#X obj 91 6 inlet; -#X obj 91 272 outlet; -#X obj 91 170 list prepend; -#X obj 91 206 list prepend firmware; -#X obj 91 239 list trim; -#X obj 160 116 moocow/string2any 32 -1; -#X obj 91 39 list split 2; -#N canvas 843 250 610 545 reassemble 0; -#X text 91 24 Firmata sends 8-bit chars as two 7-bit bytes; -#X obj 36 24 inlet; -#X obj 54 514 outlet; -#X obj 159 131 list split 2; -#X obj 196 206 list; -#X obj 109 256 trigger bang anything; -#X obj 232 280 unpack float float; -#X obj 232 340 +; -#X obj 54 403 mapping/tolist; -#X obj 193 154 route bang; -#X obj 337 303 << 7; -#X obj 193 179 bang; -#X obj 36 353 trigger bang bang; -#X obj 36 106 trigger bang anything; -#X text 249 179 reset the list if end of list or there is a single -byte left over; -#X connect 1 0 13 0; -#X connect 3 0 5 0; -#X connect 3 1 9 0; -#X connect 3 2 11 0; -#X connect 4 0 3 0; -#X connect 5 0 4 0; -#X connect 5 1 6 0; -#X connect 6 0 7 0; -#X connect 6 1 10 0; -#X connect 7 0 8 0; -#X connect 8 0 2 0; -#X connect 9 0 11 0; -#X connect 9 1 4 1; -#X connect 10 0 7 1; -#X connect 11 0 4 1; -#X connect 12 0 8 0; -#X connect 12 1 8 1; -#X connect 13 0 12 0; -#X connect 13 1 3 0; -#X restore 160 79 pd reassemble chars; -#X connect 0 0 6 0; -#X connect 2 0 3 0; -#X connect 3 0 4 0; -#X connect 4 0 1 0; -#X connect 5 0 2 1; -#X connect 6 0 2 0; -#X connect 6 1 7 0; -#X connect 6 2 7 0; -#X connect 7 0 5 0; -#X restore 55 225 pd firmware; -#N canvas 843 250 610 545 assemble 0; -#X text 91 24 Firmata sends 8-bit chars as two 7-bit bytes; -#X obj 36 24 inlet; -#X obj 54 514 outlet; -#X obj 159 131 list split 2; -#X obj 196 206 list; -#X obj 109 256 trigger bang anything; -#X obj 232 280 unpack float float; -#X obj 232 340 +; -#X obj 54 403 mapping/tolist; -#X obj 193 154 route bang; -#X obj 337 303 << 7; -#X obj 193 179 bang; -#X obj 36 353 trigger bang bang; -#X obj 36 106 trigger bang anything; -#X text 249 179 reset the list if end of list or there is a single -byte left over; -#X connect 1 0 13 0; -#X connect 3 0 5 0; -#X connect 3 1 9 0; -#X connect 3 2 11 0; -#X connect 4 0 3 0; -#X connect 5 0 4 0; -#X connect 5 1 6 0; -#X connect 6 0 7 0; -#X connect 6 1 10 0; -#X connect 7 0 8 0; -#X connect 8 0 2 0; -#X connect 9 0 11 0; -#X connect 9 1 4 1; -#X connect 10 0 7 1; -#X connect 11 0 4 1; -#X connect 12 0 8 0; -#X connect 12 1 8 1; -#X connect 13 0 12 0; -#X connect 13 1 3 0; -#X restore 159 277 pd assemble 7-bit into 14-bit values; -#X obj 159 326 list prepend; -#X obj 159 347 list trim; -#X obj 158 153 trigger anything anything; -#X msg 305 177 \$1; -#X obj 159 179 list split 1; -#X obj 305 201 select 112 113; -#X text 336 184 0x70 0x71; -#X msg 334 226 string; -#X msg 251 226 servo_config; -#X text 86 76 0x79; -#X obj 55 94 route 121; -#X text 96 401 data; -#X obj 163 403 outlet; -#X text 209 403 status; -#X connect 0 0 14 0; -#X connect 2 0 16 0; -#X connect 3 0 4 0; -#X connect 4 0 5 0; -#X connect 5 0 1 0; -#X connect 6 0 8 0; -#X connect 6 1 7 0; -#X connect 7 0 9 0; -#X connect 8 1 3 0; -#X connect 9 0 12 0; -#X connect 9 1 11 0; -#X connect 9 2 4 1; -#X connect 11 0 4 1; -#X connect 12 0 4 1; -#X connect 14 0 2 0; -#X connect 14 1 6 0; -#X restore 134 174 pd sysex; -#N canvas 383 54 457 452 route 0; -#X obj 46 24 inlet; -#X obj 175 400 outlet; -#X obj 233 400 outlet; -#X obj 46 91 trigger anything anything; -#X obj 292 400 outlet; -#X obj 175 339 route digital analog; -#X msg 193 115 \$1; -#X obj 244 158 moses 224; -#X text 314 157 0xE0 analog messages; -#X obj 193 136 moses 144; -#X text 257 136 0x90 digital messages; -#X obj 244 209 bang; -#X obj 295 209 bang; -#X msg 244 236 digital; -#X msg 297 236 analog; -#X text 359 178 0xF0; -#X obj 346 236 bang; -#X obj 211 236 bang; -#N canvas 147 640 335 257 parse 0; -#X obj 73 18 inlet; -#X obj 73 215 outlet; -#X obj 73 161 pack float float; -#X obj 73 64 unpack float float float; -#X obj 166 110 +; -#X obj 214 85 << 7; -#X obj 73 85 & 15; -#X connect 0 0 3 0; -#X connect 2 0 1 0; -#X connect 3 0 6 0; -#X connect 3 1 4 0; -#X connect 3 2 5 0; -#X connect 4 0 2 1; -#X connect 5 0 4 1; -#X connect 6 0 2 0; -#X restore 46 167 pd parse messages; -#X obj 295 178 moses 240; -#X obj 175 279 cyclone/prepend; -#X connect 0 0 3 0; -#X connect 3 0 18 0; -#X connect 3 1 6 0; -#X connect 5 0 1 0; -#X connect 5 1 2 0; -#X connect 5 2 4 0; -#X connect 6 0 9 0; -#X connect 7 0 11 0; -#X connect 7 1 19 0; -#X connect 9 0 17 0; -#X connect 9 1 7 0; -#X connect 11 0 13 0; -#X connect 12 0 14 0; -#X connect 13 0 20 1; -#X connect 14 0 20 1; -#X connect 16 0 20 1; -#X connect 17 0 20 1; -#X connect 18 0 20 0; -#X connect 19 0 12 0; -#X connect 19 1 16 0; -#X connect 20 0 5 0; -#X restore 205 126 pd route digital/analog; -#X obj 97 95 route 249 240; -#X text 124 80 0xF9 0xF0; -#X msg 40 174 version \$1 \$2; -#X obj 263 277 outlet; -#X text 312 279 status outlet; -#X text 184 277 data outlet; -#X connect 2 0 0 0; -#X connect 3 0 0 0; -#X connect 4 0 7 0; -#X connect 5 0 0 0; -#X connect 5 1 10 0; -#X connect 6 0 2 0; -#X connect 6 1 3 0; -#X connect 6 2 1 0; -#X connect 7 0 9 0; -#X connect 7 1 5 0; -#X connect 7 2 6 0; -#X connect 9 0 10 0; -#X restore 32 229 pd convert to symbolic commands; -#X text 27 331 (C) Copyright 2006-2008 Free Software Foundation; -#X text 334 330 released under the GNU GPL v2 or later; -#X obj 450 83 print [arduino]; -#X obj 450 36 loadbang; -#X text 417 7 supports Firmata v2.1; -#N canvas 762 49 450 300 comport 0; -#X obj 43 270 outlet; -#X obj 43 17 loadbang; -#X msg 43 161 pollintervall 10; -#X text 56 78 set default poll time to 10ms since for most uses of -serial at 115200 baud or less \, the data doesn't come any faster than -every 10ms; -#X connect 1 0 2 0; -#X connect 2 0 0 0; -#X restore 46 110 pd comport config; -#X msg 450 59 version_0.5; -#X connect 0 0 3 0; -#X connect 3 0 8 0; -#X connect 5 0 3 0; -#X connect 6 0 9 0; -#X connect 8 0 6 0; -#X connect 8 1 5 0; -#X connect 8 1 2 0; -#X connect 9 0 1 0; -#X connect 9 0 7 0; -#X connect 9 1 2 0; -#X connect 13 0 16 0; -#X connect 15 0 8 0; -#X connect 16 0 12 0; diff --git a/arduinomega-test.pd b/arduinomega-test.pd deleted file mode 100644 index 8c1d45d..0000000 --- a/arduinomega-test.pd +++ /dev/null @@ -1,1399 +0,0 @@ -#N canvas 27 28 1204 630 10; -#N canvas 146 163 525 433 serin 0; -#X obj 180 61 cnv 15 15 15 empty \$0-number-canvas 4 4 8 0 14 -233017 --1 0; -#X obj 200 225 s \$0-number-canvas; -#X obj 60 61 hradio 15 1 1 8 empty empty empty 0 -6 0 8 -225271 -1 --1 4; -#X obj 60 13 inlet; -#X msg 200 202 label \$1; -#X obj 200 180 makefilename %d; -#X obj 59 108 int; -#X msg 59 206 open \$1; -#X obj 59 377 outlet; -#X msg 201 306 set \$1 \$2; -#X obj 59 266 trigger bang anything; -#X obj 201 286 list; -#X obj 383 383 outlet; -#X obj 384 22 netreceive 34567; -#X obj 477 43 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0 -1; -#X obj 384 41 bng 15 250 50 0 empty empty empty 0 -6 0 10 -262144 -1 --1; -#X obj 187 24 delay 15000; -#X text 345 379 close; -#X text 209 4 for open/close automation in Makefile; -#X obj 184 95 bang; -#X obj 184 137 send ARDUINO_TEST_RESET; -#X msg 184 116 set 0; -#X connect 2 0 6 0; -#X connect 2 0 19 0; -#X connect 3 0 2 0; -#X connect 4 0 1 0; -#X connect 5 0 4 0; -#X connect 6 0 5 0; -#X connect 6 0 7 0; -#X connect 7 0 10 0; -#X connect 9 0 8 0; -#X connect 10 0 8 0; -#X connect 10 1 11 0; -#X connect 11 0 9 0; -#X connect 13 0 15 0; -#X connect 13 1 14 0; -#X connect 15 0 16 0; -#X connect 15 0 12 0; -#X connect 16 0 2 0; -#X connect 19 0 21 0; -#X connect 21 0 20 0; -#X coords 0 -1 1 1 136 17 1 60 60; -#X restore -186 16 pd serin; -#X text -189 -2 serial port #; -#X msg -186 67 close; -#X obj -386 54 hsl 150 17 0 1 0 0 empty ARDUINO_TEST_RESET analog_output_(0-1) -20 9 1 10 -225271 -1 -1 0 0; -#X floatatom -494 569 5 0 0 3 a0 - -; -#X floatatom -448 569 5 0 0 3 a1 - -; -#X floatatom -402 569 5 0 0 3 a2 - -; -#X floatatom -356 569 5 0 0 3 a3 - -; -#X floatatom -310 569 5 0 0 3 a4 - -; -#X floatatom -264 569 5 0 0 3 a5 - -; -#X obj -440 16 hradio 15 1 0 14 empty empty empty 0 -6 0 8 -176124 --1 -1 0; -#X text -333 2 7; -#X text -438 2 0; -#X text -292 2 10; -#X text -246 2 13; -#X text -380 2 4; -#X text -409 2 2; -#X text -364 2 5; -#X text -349 2 6; -#X text -394 2 3; -#X text -319 2 8; -#X text -302 2 9; -#X text -276 2 11; -#X text -261 2 12; -#X text -423 2 1; -#X msg -119 128 info; -#X msg -119 148 version; -#N canvas 763 71 475 478 sending 0; -#X obj 69 228 cnv 15 100 22 empty empty empty 20 12 0 14 -253938 -66577 -0; -#X obj 78 434 outlet; -#X msg 78 231 digital 0 0; -#X obj 127 148 tgl 15 0 empty ARDUINO_TEST_RESET 7 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 144 148 tgl 15 0 empty ARDUINO_TEST_RESET 8 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 161 148 tgl 15 0 empty ARDUINO_TEST_RESET 9 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 178 148 tgl 15 0 empty ARDUINO_TEST_RESET 10 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 195 148 tgl 15 0 empty ARDUINO_TEST_RESET 11 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 212 148 tgl 15 0 empty ARDUINO_TEST_RESET 12 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 229 148 tgl 15 0 empty ARDUINO_TEST_RESET 13 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 42 148 tgl 15 0 empty ARDUINO_TEST_RESET 2 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 59 148 tgl 15 0 empty ARDUINO_TEST_RESET 3 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 76 148 tgl 15 0 empty ARDUINO_TEST_RESET 4 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 93 148 tgl 15 0 empty ARDUINO_TEST_RESET 5 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 110 148 tgl 15 0 empty ARDUINO_TEST_RESET 6 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 418 123 tgl 25 0 empty ARDUINO_TEST_RESET ALL 2 12 0 12 -262144 --1 -1 0 1; -#X obj 388 72 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 16383 -; -#X obj 388 92 metro 100; -#X obj 301 9 inlet; -#X obj 301 43 trigger 0 float; -#X obj 301 64 select 0; -#X msg 301 84 0; -#X msg 405 389 port 1 0; -#X msg 263 389 port 0 0; -#X msg 189 389 port 0 255; -#X msg 331 389 port 1 255; -#X text 95 291 or send 8-bit ports in one message:; -#X msg 159 338 port 1 \$1; -#X msg 91 338 port 0 \$1; -#X msg 230 338 port 2 \$1; -#X obj 362 297 tgl 25 0 empty ARDUINO_TEST_RESET ALL 2 12 0 12 -262144 --1 -1 0 1; -#X obj 362 246 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 -16383; -#X obj 362 266 metro 100; -#X floatatom 362 329 5 0 0 0 - - -; -#X obj 246 148 tgl 15 0 empty ARDUINO_TEST_RESET 14 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 263 148 tgl 15 0 empty ARDUINO_TEST_RESET 15 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 280 148 tgl 15 0 empty ARDUINO_TEST_RESET 16 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 297 148 tgl 15 0 empty ARDUINO_TEST_RESET 17 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 314 148 tgl 15 0 empty ARDUINO_TEST_RESET 18 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 331 148 tgl 15 0 empty ARDUINO_TEST_RESET 19 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 348 148 tgl 15 0 empty ARDUINO_TEST_RESET 20 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 365 148 tgl 15 0 empty ARDUINO_TEST_RESET 21 0 -6 1 12 -233017 --1 -1 0 1; -#N canvas 314 233 1035 340 generate 0; -#X obj 12 24 inlet; -#X obj 52 24 inlet; -#X obj 91 24 inlet; -#X obj 131 24 inlet; -#X obj 171 24 inlet; -#X obj 211 24 inlet; -#X obj 250 24 inlet; -#X obj 290 24 inlet; -#X obj 331 23 inlet; -#X obj 371 23 inlet; -#X obj 410 23 inlet; -#X obj 450 23 inlet; -#X obj 490 23 inlet; -#X msg 12 66 digital 0 \$1; -#X msg 52 88 digital 1 \$1; -#X msg 91 110 digital 2 \$1; -#X msg 131 130 digital 3 \$1; -#X msg 171 62 digital 4 \$1; -#X msg 211 84 digital 5 \$1; -#X msg 250 106 digital 6 \$1; -#X msg 290 126 digital 7 \$1; -#X msg 331 58 digital 8 \$1; -#X msg 371 80 digital 9 \$1; -#X msg 410 102 digital 10 \$1; -#X msg 450 122 digital 11 \$1; -#X msg 490 50 digital 12 \$1; -#X obj 529 23 inlet; -#X msg 529 70 digital 13 \$1; -#X obj 513 302 outlet; -#X obj 513 263 trigger bang anything; -#X obj 513 214 list prepend set; -#X obj 513 238 list trim; -#X obj 570 23 inlet; -#X obj 610 23 inlet; -#X obj 650 23 inlet; -#X obj 689 23 inlet; -#X msg 570 102 digital 14 \$1; -#X msg 610 122 digital 15 \$1; -#X msg 650 50 digital 16 \$1; -#X msg 689 70 digital 17 \$1; -#X obj 730 23 inlet; -#X obj 770 23 inlet; -#X obj 810 23 inlet; -#X obj 849 23 inlet; -#X msg 730 102 digital 18 \$1; -#X msg 770 122 digital 19 \$1; -#X msg 810 50 digital 20 \$1; -#X msg 849 70 digital 21 \$1; -#X obj 890 23 inlet; -#X obj 930 23 inlet; -#X msg 890 102 digital 22 \$1; -#X msg 930 122 digital 23 \$1; -#X connect 0 0 13 0; -#X connect 1 0 14 0; -#X connect 2 0 15 0; -#X connect 3 0 16 0; -#X connect 4 0 17 0; -#X connect 5 0 18 0; -#X connect 6 0 19 0; -#X connect 7 0 20 0; -#X connect 8 0 21 0; -#X connect 9 0 22 0; -#X connect 10 0 23 0; -#X connect 11 0 24 0; -#X connect 12 0 25 0; -#X connect 13 0 30 0; -#X connect 14 0 30 0; -#X connect 15 0 30 0; -#X connect 16 0 30 0; -#X connect 17 0 30 0; -#X connect 18 0 30 0; -#X connect 19 0 30 0; -#X connect 20 0 30 0; -#X connect 21 0 30 0; -#X connect 22 0 30 0; -#X connect 23 0 30 0; -#X connect 24 0 30 0; -#X connect 25 0 30 0; -#X connect 26 0 27 0; -#X connect 27 0 30 0; -#X connect 29 0 28 0; -#X connect 29 1 28 0; -#X connect 30 0 31 0; -#X connect 31 0 29 0; -#X connect 32 0 36 0; -#X connect 33 0 37 0; -#X connect 34 0 38 0; -#X connect 35 0 39 0; -#X connect 36 0 30 0; -#X connect 37 0 30 0; -#X connect 38 0 30 0; -#X connect 39 0 30 0; -#X connect 40 0 44 0; -#X connect 41 0 45 0; -#X connect 42 0 46 0; -#X connect 43 0 47 0; -#X connect 44 0 30 0; -#X connect 45 0 30 0; -#X connect 46 0 30 0; -#X connect 47 0 30 0; -#X connect 48 0 50 0; -#X connect 49 0 51 0; -#X connect 50 0 30 0; -#X connect 51 0 30 0; -#X restore 78 201 pd generate digital out messages ------------------ -; -#X obj 382 148 tgl 15 0 empty ARDUINO_TEST_RESET 22 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 399 148 tgl 15 0 empty ARDUINO_TEST_RESET 23 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 8 148 tgl 15 0 empty ARDUINO_TEST_RESET 0 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 25 148 tgl 15 0 empty ARDUINO_TEST_RESET 1 4 -6 1 12 -233017 --1 -1 0 1; -#X connect 2 0 1 0; -#X connect 3 0 42 7; -#X connect 4 0 42 8; -#X connect 5 0 42 9; -#X connect 6 0 42 10; -#X connect 7 0 42 11; -#X connect 8 0 42 12; -#X connect 9 0 42 13; -#X connect 10 0 42 2; -#X connect 11 0 42 3; -#X connect 12 0 42 4; -#X connect 13 0 42 5; -#X connect 14 0 42 6; -#X connect 15 0 9 0; -#X connect 15 0 8 0; -#X connect 15 0 7 0; -#X connect 15 0 6 0; -#X connect 15 0 5 0; -#X connect 15 0 4 0; -#X connect 15 0 3 0; -#X connect 15 0 14 0; -#X connect 15 0 13 0; -#X connect 15 0 12 0; -#X connect 15 0 11 0; -#X connect 15 0 10 0; -#X connect 15 0 39 0; -#X connect 15 0 40 0; -#X connect 15 0 41 0; -#X connect 15 0 38 0; -#X connect 15 0 37 0; -#X connect 15 0 36 0; -#X connect 15 0 35 0; -#X connect 15 0 34 0; -#X connect 15 0 44 0; -#X connect 15 0 43 0; -#X connect 15 0 46 0; -#X connect 15 0 45 0; -#X connect 16 0 17 0; -#X connect 17 0 15 0; -#X connect 18 0 19 0; -#X connect 19 0 20 0; -#X connect 19 1 16 0; -#X connect 20 0 21 0; -#X connect 21 0 15 0; -#X connect 22 0 1 0; -#X connect 23 0 1 0; -#X connect 24 0 1 0; -#X connect 25 0 1 0; -#X connect 27 0 1 0; -#X connect 28 0 1 0; -#X connect 29 0 1 0; -#X connect 30 0 33 0; -#X connect 30 0 29 0; -#X connect 30 0 27 0; -#X connect 30 0 28 0; -#X connect 31 0 32 0; -#X connect 32 0 30 0; -#X connect 34 0 42 14; -#X connect 35 0 42 15; -#X connect 36 0 42 16; -#X connect 37 0 42 17; -#X connect 38 0 42 18; -#X connect 39 0 42 19; -#X connect 40 0 42 20; -#X connect 41 0 42 21; -#X connect 42 0 2 0; -#X connect 43 0 42 22; -#X connect 44 0 42 23; -#X connect 45 0 42 0; -#X connect 46 0 42 1; -#X restore -329 139 pd sending digital outs; -#X obj -329 120 tgl 15 0 empty ARDUINO_TEST_RESET empty 0 -6 0 8 -225271 --1 -1 0 16383; -#X floatatom -218 569 5 0 0 3 a6 - -; -#X floatatom -172 569 5 0 0 3 a7 - -; -#N canvas 981 48 499 396 display 0; -#X obj 6 7 inlet; -#X obj 6 28 mapping/resample 100; -#X obj 6 50 outlet; -#X obj 54 50 inlet; -#X obj 54 71 mapping/resample 100; -#X obj 54 93 outlet; -#X obj 103 93 inlet; -#X obj 103 114 mapping/resample 100; -#X obj 103 136 outlet; -#X obj 151 136 inlet; -#X obj 151 157 mapping/resample 100; -#X obj 151 179 outlet; -#X obj 200 179 inlet; -#X obj 200 200 mapping/resample 100; -#X obj 200 222 outlet; -#X obj 247 222 inlet; -#X obj 247 243 mapping/resample 100; -#X obj 247 265 outlet; -#X obj 295 265 inlet; -#X obj 295 286 mapping/resample 100; -#X obj 295 308 outlet; -#X obj 345 308 inlet; -#X obj 345 329 mapping/resample 100; -#X obj 345 351 outlet; -#X obj 60 290 receive ARDUINO_TEST_RESET; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X connect 3 0 4 0; -#X connect 4 0 5 0; -#X connect 6 0 7 0; -#X connect 7 0 8 0; -#X connect 9 0 10 0; -#X connect 10 0 11 0; -#X connect 12 0 13 0; -#X connect 13 0 14 0; -#X connect 15 0 16 0; -#X connect 16 0 17 0; -#X connect 18 0 19 0; -#X connect 19 0 20 0; -#X connect 21 0 22 0; -#X connect 22 0 23 0; -#X connect 24 0 22 0; -#X connect 24 0 19 0; -#X connect 24 0 16 0; -#X connect 24 0 13 0; -#X connect 24 0 10 0; -#X connect 24 0 7 0; -#X connect 24 0 4 0; -#X connect 24 0 1 0; -#X restore -415 543 pd display values without pegging the CPU; -#N canvas 7 72 451 224 ver 0; -#X obj 23 7 inlet; -#X obj 250 100 cnv 15 200 17 empty \$0-version_cnv empty 4 10 0 12 --203904 -1 0; -#X obj 23 157 send \$0-version_cnv; -#X msg 23 132 label \$1; -#X obj 48 103 symbol; -#X obj 38 77 loadbang; -#X msg 96 78 bang; -#X obj 309 163 outlet; -#X obj 23 52 zexy/makesymbol Firmata-%s.%s; -#X obj 23 29 route version bang; -#X connect 0 0 9 0; -#X connect 3 0 2 0; -#X connect 4 0 3 0; -#X connect 5 0 4 0; -#X connect 6 0 4 0; -#X connect 8 0 3 0; -#X connect 9 0 8 0; -#X connect 9 1 7 0; -#X connect 9 1 6 0; -#X connect 9 2 7 0; -#X coords 0 -1 1 1 200 17 1 250 100; -#X restore -114 249 pd ver; -#N canvas 577 344 548 212 firmware 0; -#X obj 123 2 inlet; -#X obj 250 100 cnv 15 200 17 empty \$0-firmware_cnv empty 4 10 0 12 --232576 -66577 0; -#X msg 123 156 label \$1; -#X obj 148 127 symbol; -#X obj 138 101 loadbang; -#X msg 196 102 bang; -#X obj 123 181 send \$0-firmware_cnv; -#X obj 123 24 route firmware; -#X obj 18 181 print Firmware; -#X obj 123 49 list; -#X obj 123 80 zexy/makesymbol %s-%s.%s; -#X obj 18 151 list trim; -#X obj 204 45 route bang; -#X connect 0 0 7 0; -#X connect 2 0 6 0; -#X connect 3 0 2 0; -#X connect 4 0 3 0; -#X connect 5 0 3 0; -#X connect 7 0 9 0; -#X connect 7 1 12 0; -#X connect 9 0 10 0; -#X connect 10 0 2 0; -#X connect 10 0 11 0; -#X connect 11 0 8 0; -#X connect 12 0 5 0; -#X coords 0 -1 1 1 200 17 1 250 100; -#X restore -114 269 pd firmware; -#X msg -119 188 devices; -#X msg -119 168 firmware; -#N canvas 0 22 450 300 STRING 0; -#X obj 48 13 inlet; -#X obj 51 93 moocow/string2any 32 -1; -#X obj 51 154 print STRING; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X restore -157 335 pd STRING; -#N canvas 630 122 404 287 device 0; -#X obj 35 60 inlet; -#X obj 35 118 route open port ports; -#X obj 35 169 tgl 15 0 empty empty open -3 20 0 10 -262144 -1 -1 0 -1; -#X floatatom 76 170 5 0 0 3 port - -; -#X obj 117 170 print comport_ports; -#X obj 252 170 outlet; -#X obj 235 74 receive ARDUINO_TEST_RESET; -#X obj 235 97 bang; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X connect 1 1 3 0; -#X connect 1 2 4 0; -#X connect 1 3 5 0; -#X connect 6 0 7 0; -#X connect 7 0 5 0; -#X restore -114 227 pd device info; -#N canvas 0 22 450 300 sysex 0; -#X obj 139 19 inlet; -#X obj 127 109 moocow/string2any 32 -1; -#X obj 127 170 print STRING; -#X obj 97 55 list split 1; -#X obj 40 109 print COMMAND; -#X obj 210 54 print sysex; -#X connect 0 0 3 0; -#X connect 0 0 5 0; -#X connect 1 0 2 0; -#X connect 3 0 4 0; -#X connect 3 1 1 0; -#X restore -92 335 pd sysex; -#X text -23 227 <- open to see info; -#N canvas 94 215 810 414 pinMode 0; -#X obj 226 274 outlet; -#X obj 172 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -2 2 -8 0 10 -204800 -1 -1 0; -#X obj 182 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -3 2 -8 0 10 -204800 -1 -1 0; -#X obj 192 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty 2 -8 0 10 -204800 -1 -1 0; -#X obj 202 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty 2 -8 0 10 -204800 -1 -1 0; -#X obj 212 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty 2 -8 0 10 -204800 -1 -1 0; -#X obj 222 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -7 2 -8 0 10 -204800 -1 -1 0; -#X obj 232 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty 2 -8 0 10 -204800 -1 -1 0; -#X obj 242 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty 2 -8 0 10 -204800 -1 -1 0; -#X obj 252 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty 0 -8 0 8 -204800 -1 -1 0; -#X obj 262 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty 0 -8 0 8 -204800 -1 -1 0; -#X obj 272 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty 0 -8 0 8 -204800 -1 -1 0; -#X obj 282 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -13 -4 -8 0 10 -204800 -1 -1 0; -#X obj 292 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty 0 -8 0 8 -261682 -1 -1 0; -#X obj 302 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty 0 -8 0 8 -261682 -1 -1 0; -#X obj 312 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty 0 -8 0 8 -261682 -1 -1 0; -#X obj 322 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty 0 -8 0 8 -261682 -1 -1 0; -#X obj 332 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty 0 -8 0 8 -261682 -1 -1 0; -#X obj 342 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty 0 -8 0 8 -261682 -1 -1 0; -#X obj 352 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty 0 -8 0 8 -261682 -1 -1 0; -#X obj 362 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -21 -4 -8 0 10 -261682 -1 -1 0; -#X obj 372 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 382 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 152 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -0 2 -8 0 10 -260097 -1 -1 0; -#X obj 162 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -1 2 -8 0 10 -260097 -1 -1 0; -#X obj 392 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 402 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -25 -4 -8 0 10 -232576 -1 -1 0; -#X obj 412 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 422 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 432 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 442 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 452 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -30 -4 -8 0 10 -232576 -1 -1 0; -#X obj 462 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 472 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 482 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 492 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 502 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -35 -4 -8 0 10 -232576 -1 -1 0; -#X obj 512 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 522 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 532 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 542 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 552 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -40 -4 -8 0 10 -232576 -1 -1 0; -#X obj 562 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 572 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 582 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 592 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 602 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -45 -4 -8 0 10 -232576 -1 -1 0; -#X obj 612 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 622 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 632 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 642 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 652 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -50 -4 -8 0 10 -232576 -1 -1 0; -#X obj 662 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 672 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X obj 682 115 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET ARDUINO_TEST_RESET -empty -4 -8 0 10 -203904 -1 -1 0; -#X text 701 160 servo; -#X text 701 150 pwm; -#X text 701 122 input; -#X text 701 131 output; -#X text 701 141 analog; -#X text 701 111 NONE; -#X text 102 160 servo; -#X text 102 150 pwm; -#X text 102 122 input; -#X text 102 131 output; -#X text 102 141 analog; -#X text 102 111 NONE; -#N canvas 72 121 1163 796 send-to-arduino------------------------------------------ -0; -#X obj 49 14 inlet; -#X obj 89 14 inlet; -#X obj 128 14 inlet; -#X obj 168 14 inlet; -#X obj 208 14 inlet; -#X obj 248 14 inlet; -#X obj 287 14 inlet; -#X obj 327 14 inlet; -#X obj 368 13 inlet; -#X obj 408 13 inlet; -#X obj 447 13 inlet; -#X obj 487 13 inlet; -#X obj 527 13 inlet; -#X msg 49 56 pinMode 0 \$1; -#X msg 89 78 pinMode 1 \$1; -#X msg 128 100 pinMode 2 \$1; -#X msg 168 120 pinMode 3 \$1; -#X msg 208 52 pinMode 4 \$1; -#X msg 248 74 pinMode 5 \$1; -#X msg 287 96 pinMode 6 \$1; -#X msg 327 116 pinMode 7 \$1; -#X msg 368 48 pinMode 8 \$1; -#X msg 408 70 pinMode 9 \$1; -#X msg 447 92 pinMode 10 \$1; -#X msg 487 112 pinMode 11 \$1; -#X msg 527 40 pinMode 12 \$1; -#X obj 566 13 inlet; -#X msg 566 60 pinMode 13 \$1; -#X obj 607 13 inlet; -#X obj 647 13 inlet; -#X obj 687 13 inlet; -#X obj 726 13 inlet; -#X obj 767 13 inlet; -#X obj 807 13 inlet; -#X obj 847 13 inlet; -#X obj 886 13 inlet; -#X msg 607 92 pinMode 14 \$1; -#X msg 647 112 pinMode 15 \$1; -#X msg 687 40 pinMode 16 \$1; -#X msg 726 60 pinMode 17 \$1; -#X msg 767 92 pinMode 18 \$1; -#X msg 807 112 pinMode 19 \$1; -#X msg 847 40 pinMode 20 \$1; -#X msg 886 60 pinMode 21 \$1; -#X obj 927 13 inlet; -#X obj 967 13 inlet; -#X msg 927 92 pinMode 22 \$1; -#X msg 967 112 pinMode 23 \$1; -#X obj 1076 515 outlet; -#X obj 1036 491 trigger bang anything; -#X obj 1036 446 list prepend set; -#X obj 1036 468 list trim; -#X obj 1036 287 list; -#X obj 1036 309 unpack symbol float float; -#X obj 1036 419 pack symbol float symbol; -#X obj 1177 399 symbol; -#X msg 1214 372 analog; -#X msg 1262 372 pwm; -#X msg 1292 372 servo; -#X obj 1294 452 list trim; -#X obj 1294 429 list prepend WARNING Unsupported pin mode:; -#X obj 1294 474 print [arduino]; -#X msg 1123 372 input; -#X msg 1164 372 output; -#X obj 1183 328 - 1; -#X obj 1183 347 select 0 1 2 3 4 -1; -#X text 1312 346 (-1 == NONE); -#X obj 1006 13 inlet; -#X obj 1046 13 inlet; -#X obj 1085 13 inlet; -#X obj 1125 13 inlet; -#X obj 1165 13 inlet; -#X obj 1205 13 inlet; -#X obj 1244 13 inlet; -#X obj 1284 13 inlet; -#X obj 1325 12 inlet; -#X obj 1365 12 inlet; -#X obj 1404 12 inlet; -#X obj 1444 12 inlet; -#X obj 1484 12 inlet; -#X obj 1523 12 inlet; -#X obj 1564 12 inlet; -#X obj 1604 12 inlet; -#X obj 1644 12 inlet; -#X obj 1683 12 inlet; -#X obj 1724 12 inlet; -#X obj 1764 12 inlet; -#X obj 1804 12 inlet; -#X obj 1843 12 inlet; -#X obj 1884 12 inlet; -#X obj 1924 12 inlet; -#X msg 1006 55 pinMode 24 \$1; -#X msg 1046 77 pinMode 25 \$1; -#X msg 1085 99 pinMode 26 \$1; -#X msg 1125 119 pinMode 27 \$1; -#X msg 1165 52 pinMode 28 \$1; -#X msg 1205 73 pinMode 29 \$1; -#X msg 1244 94 pinMode 30 \$1; -#X msg 1284 115 pinMode 31 \$1; -#X msg 1325 47 pinMode 32 \$1; -#X msg 1365 69 pinMode 33 \$1; -#X msg 1404 91 pinMode 34 \$1; -#X msg 1444 111 pinMode 35 \$1; -#X msg 1484 39 pinMode 36 \$1; -#X msg 1523 59 pinMode 37 \$1; -#X msg 1563 91 pinMode 38 \$1; -#X msg 1604 111 pinMode 39 \$1; -#X msg 1644 39 pinMode 40 \$1; -#X msg 1683 59 pinMode 41 \$1; -#X msg 1724 91 pinMode 42 \$1; -#X msg 1764 111 pinMode 43 \$1; -#X msg 1804 39 pinMode 44 \$1; -#X msg 1843 66 pinMode 45 \$1; -#X msg 1883 91 pinMode 46 \$1; -#X msg 1924 111 pinMode 47 \$1; -#X obj 1965 12 inlet; -#X obj 2005 12 inlet; -#X obj 2045 12 inlet; -#X obj 2084 12 inlet; -#X obj 2125 12 inlet; -#X obj 2165 12 inlet; -#X msg 1965 39 pinMode 48 \$1; -#X msg 2005 59 pinMode 49 \$1; -#X msg 2045 91 pinMode 50 \$1; -#X msg 2084 111 pinMode 51 \$1; -#X msg 2125 39 pinMode 52 \$1; -#X msg 2165 59 pinMode 53 \$1; -#X connect 0 0 13 0; -#X connect 1 0 14 0; -#X connect 2 0 15 0; -#X connect 3 0 16 0; -#X connect 4 0 17 0; -#X connect 5 0 18 0; -#X connect 6 0 19 0; -#X connect 7 0 20 0; -#X connect 8 0 21 0; -#X connect 9 0 22 0; -#X connect 10 0 23 0; -#X connect 11 0 24 0; -#X connect 12 0 25 0; -#X connect 13 0 52 0; -#X connect 14 0 52 0; -#X connect 15 0 52 0; -#X connect 16 0 52 0; -#X connect 17 0 52 0; -#X connect 18 0 52 0; -#X connect 19 0 52 0; -#X connect 20 0 52 0; -#X connect 21 0 52 0; -#X connect 22 0 52 0; -#X connect 23 0 52 0; -#X connect 24 0 52 0; -#X connect 25 0 52 0; -#X connect 26 0 27 0; -#X connect 27 0 52 0; -#X connect 28 0 36 0; -#X connect 29 0 37 0; -#X connect 30 0 38 0; -#X connect 31 0 39 0; -#X connect 32 0 40 0; -#X connect 33 0 41 0; -#X connect 34 0 42 0; -#X connect 35 0 43 0; -#X connect 36 0 52 0; -#X connect 37 0 52 0; -#X connect 38 0 52 0; -#X connect 39 0 52 0; -#X connect 40 0 52 0; -#X connect 41 0 52 0; -#X connect 42 0 52 0; -#X connect 43 0 52 0; -#X connect 44 0 46 0; -#X connect 45 0 47 0; -#X connect 46 0 52 0; -#X connect 47 0 52 0; -#X connect 49 0 48 0; -#X connect 49 1 48 0; -#X connect 50 0 51 0; -#X connect 51 0 49 0; -#X connect 52 0 53 0; -#X connect 53 0 54 0; -#X connect 53 1 54 1; -#X connect 53 2 64 0; -#X connect 54 0 50 0; -#X connect 55 0 54 2; -#X connect 56 0 55 0; -#X connect 57 0 55 0; -#X connect 58 0 55 0; -#X connect 59 0 61 0; -#X connect 60 0 59 0; -#X connect 62 0 55 0; -#X connect 63 0 55 0; -#X connect 64 0 65 0; -#X connect 65 0 62 0; -#X connect 65 1 63 0; -#X connect 65 2 56 0; -#X connect 65 3 57 0; -#X connect 65 4 58 0; -#X connect 65 6 60 0; -#X connect 67 0 91 0; -#X connect 68 0 92 0; -#X connect 69 0 93 0; -#X connect 70 0 94 0; -#X connect 71 0 95 0; -#X connect 72 0 96 0; -#X connect 73 0 97 0; -#X connect 74 0 98 0; -#X connect 75 0 99 0; -#X connect 76 0 100 0; -#X connect 77 0 101 0; -#X connect 78 0 102 0; -#X connect 79 0 103 0; -#X connect 80 0 104 0; -#X connect 81 0 105 0; -#X connect 82 0 106 0; -#X connect 83 0 107 0; -#X connect 84 0 108 0; -#X connect 85 0 109 0; -#X connect 86 0 110 0; -#X connect 87 0 111 0; -#X connect 88 0 112 0; -#X connect 89 0 113 0; -#X connect 90 0 114 0; -#X connect 91 0 52 0; -#X connect 92 0 52 0; -#X connect 93 0 52 0; -#X connect 94 0 52 0; -#X connect 95 0 52 0; -#X connect 96 0 52 0; -#X connect 97 0 52 0; -#X connect 98 0 52 0; -#X connect 99 0 52 0; -#X connect 100 0 52 0; -#X connect 101 0 52 0; -#X connect 102 0 52 0; -#X connect 103 0 52 0; -#X connect 104 0 52 0; -#X connect 105 0 52 0; -#X connect 106 0 52 0; -#X connect 107 0 52 0; -#X connect 108 0 52 0; -#X connect 109 0 52 0; -#X connect 110 0 52 0; -#X connect 111 0 52 0; -#X connect 112 0 52 0; -#X connect 113 0 52 0; -#X connect 114 0 52 0; -#X connect 115 0 121 0; -#X connect 116 0 122 0; -#X connect 117 0 123 0; -#X connect 118 0 124 0; -#X connect 119 0 125 0; -#X connect 120 0 126 0; -#X connect 121 0 52 0; -#X connect 122 0 52 0; -#X connect 123 0 52 0; -#X connect 124 0 52 0; -#X connect 125 0 52 0; -#X connect 126 0 52 0; -#X restore 226 240 pd send-to-arduino------------------------------------------ -; -#X connect 1 0 67 2; -#X connect 2 0 67 3; -#X connect 3 0 67 4; -#X connect 4 0 67 5; -#X connect 5 0 67 6; -#X connect 6 0 67 7; -#X connect 7 0 67 8; -#X connect 8 0 67 9; -#X connect 9 0 67 10; -#X connect 10 0 67 11; -#X connect 11 0 67 12; -#X connect 12 0 67 13; -#X connect 13 0 67 14; -#X connect 14 0 67 15; -#X connect 15 0 67 16; -#X connect 16 0 67 17; -#X connect 17 0 67 18; -#X connect 18 0 67 19; -#X connect 19 0 67 20; -#X connect 20 0 67 21; -#X connect 21 0 67 22; -#X connect 22 0 67 23; -#X connect 23 0 67 0; -#X connect 24 0 67 1; -#X connect 25 0 67 24; -#X connect 26 0 67 25; -#X connect 27 0 67 26; -#X connect 28 0 67 27; -#X connect 29 0 67 28; -#X connect 30 0 67 29; -#X connect 31 0 67 30; -#X connect 32 0 67 31; -#X connect 33 0 67 32; -#X connect 34 0 67 33; -#X connect 35 0 67 34; -#X connect 36 0 67 35; -#X connect 37 0 67 36; -#X connect 38 0 67 37; -#X connect 39 0 67 38; -#X connect 40 0 67 39; -#X connect 41 0 67 40; -#X connect 42 0 67 41; -#X connect 43 0 67 42; -#X connect 44 0 67 43; -#X connect 45 0 67 44; -#X connect 46 0 67 45; -#X connect 47 0 67 46; -#X connect 48 0 67 47; -#X connect 49 0 67 48; -#X connect 50 0 67 49; -#X connect 51 0 67 50; -#X connect 52 0 67 51; -#X connect 53 0 67 52; -#X connect 54 0 67 53; -#X connect 67 0 0 0; -#X coords 0 -1 1 1 650 75 2 100 100; -#X restore -46 101 pd pinMode; -#N canvas 72 104 423 503 analog 0; -#X obj 38 10 inlet; -#X obj 131 10 inlet; -#X obj 38 259 pack float float; -#X obj 192 113 route float symbol; -#X obj 188 259 pack float symbol; -#X text 78 11 pin#; -#X text 179 10 PWM value or "off"; -#X obj 39 217 cyclone/gate 2; -#X msg 191 153 1; -#X msg 252 153 2; -#X obj 131 34 list; -#X obj 131 113 float; -#X obj 131 67 trigger bang anything; -#X obj 37 427 outlet; -#X obj 37 356 trigger bang anything; -#X obj 179 376 list; -#X msg 179 396 set \$1 \$2 \$3; -#X msg 37 308 analog \$1 \$2; -#X connect 0 0 11 0; -#X connect 1 0 10 0; -#X connect 2 0 17 0; -#X connect 3 0 8 0; -#X connect 3 0 2 1; -#X connect 3 1 9 0; -#X connect 3 1 4 1; -#X connect 4 0 17 0; -#X connect 7 0 2 0; -#X connect 7 1 4 0; -#X connect 8 0 7 0; -#X connect 9 0 7 0; -#X connect 10 0 12 0; -#X connect 11 0 7 1; -#X connect 12 0 11 0; -#X connect 12 1 3 0; -#X connect 14 0 13 0; -#X connect 14 1 15 0; -#X connect 15 0 16 0; -#X connect 16 0 13 0; -#X connect 17 0 14 0; -#X restore -440 75 pd analog; -#X obj -40 464 tgl 10 0 empty ARDUINO_TEST_RESET 0 0 20 0 10 -260097 --1 -1 0 1; -#N canvas 125 152 364 249 old 0; -#X msg 101 155 analogIns 15 0; -#N canvas 162 133 603 322 serin 0; -#X obj 168 284 outlet; -#X obj 168 211 trigger bang anything; -#X obj 275 237 list; -#X obj 60 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 0 1 8 0 -9 -262130 -1 -1 0 1; -#X obj 75 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 1 1 8 0 -9 -262130 -1 -1 0 1; -#X obj 90 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 2 1 8 0 -9 -262130 -1 -1 0 1; -#X obj 105 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 3 1 8 -0 9 -262130 -1 -1 0 1; -#X obj 120 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 4 1 8 -0 9 -262130 -1 -1 0 1; -#X obj 135 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 5 1 8 -0 9 -262130 -1 -1 0 1; -#X obj 150 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 6 1 8 -0 9 -262130 -1 -1 0 1; -#X obj 165 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 7 1 8 -0 9 -262130 -1 -1 0 1; -#X msg 168 178 analogIns \$1 \$2; -#X msg -96 106 0 \$1; -#X msg -61 106 1 \$1; -#X msg -26 106 2 \$1; -#X msg 9 106 3 \$1; -#X msg 44 106 4 \$1; -#X msg 79 106 5 \$1; -#X msg 114 106 6 \$1; -#X msg 149 106 7 \$1; -#X msg 275 258 set \$1 \$2 \$3; -#X obj 180 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 8 1 8 -0 9 -262130 -1 -1 0 1; -#X obj 195 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 9 1 8 -0 9 -262130 -1 -1 0 1; -#X obj 210 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 10 1 8 -0 9 -262130 -1 -1 0 1; -#X obj 225 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 11 1 8 -0 9 -262130 -1 -1 0 1; -#X obj 240 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 12 1 8 -0 9 -262130 -1 -1 0 1; -#X obj 255 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 13 1 8 -0 9 -262130 -1 -1 0 1; -#X obj 270 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 14 1 8 -0 9 -262130 -1 -1 0 1; -#X obj 285 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 15 1 8 -0 9 -262130 -1 -1 0 1; -#X msg 184 106 8 \$1; -#X msg 219 106 9 \$1; -#X msg 254 106 10 \$1; -#X msg 295 106 11 \$1; -#X msg 335 106 12 \$1; -#X msg 375 106 13 \$1; -#X msg 415 106 14 \$1; -#X msg 455 106 15 \$1; -#X connect 1 0 0 0; -#X connect 1 1 2 0; -#X connect 2 0 20 0; -#X connect 3 0 12 0; -#X connect 4 0 13 0; -#X connect 5 0 14 0; -#X connect 6 0 15 0; -#X connect 7 0 16 0; -#X connect 8 0 17 0; -#X connect 9 0 18 0; -#X connect 10 0 19 0; -#X connect 11 0 1 0; -#X connect 12 0 11 0; -#X connect 13 0 11 0; -#X connect 14 0 11 0; -#X connect 15 0 11 0; -#X connect 16 0 11 0; -#X connect 17 0 11 0; -#X connect 18 0 11 0; -#X connect 19 0 11 0; -#X connect 20 0 0 0; -#X connect 21 0 29 0; -#X connect 22 0 30 0; -#X connect 23 0 31 0; -#X connect 24 0 32 0; -#X connect 25 0 33 0; -#X connect 26 0 34 0; -#X connect 27 0 35 0; -#X connect 28 0 36 0; -#X connect 29 0 11 0; -#X connect 30 0 11 0; -#X connect 31 0 11 0; -#X connect 32 0 11 0; -#X connect 33 0 11 0; -#X connect 34 0 11 0; -#X connect 35 0 11 0; -#X connect 36 0 11 0; -#X coords 0 -1 1 1 240 16 1 60 60; -#X restore 101 114 pd serin; -#X obj 101 190 outlet; -#X text 102 99 AnalogIns to enable:; -#X connect 0 0 2 0; -#X connect 1 0 0 0; -#X coords 0 0 1 1 242 32 2 100 100; -#X restore -131 62 pd old analog/digital controls; -#X text -315 117 <-- pulse all outputs; -#X text -282 372 analog inputs:; -#X msg -186 36 open 4; -#X text -435 34 switch pin to 'pwm' or 'servo' first; -#X msg -440 97 analog 1 0; -#X msg -46 187 pinMode 45 input; -#X floatatom -126 569 5 0 0 3 a8 - -; -#X floatatom -80 569 5 0 0 3 a9 - -; -#X floatatom -34 569 5 0 0 3 a10 - -; -#X floatatom 12 569 5 0 0 3 a11 - -; -#X floatatom 58 569 5 0 0 3 a12 - -; -#X floatatom 104 569 5 0 0 3 a13 - -; -#X floatatom 150 569 5 0 0 3 a14 - -; -#X floatatom 196 569 5 0 0 3 a15 - -; -#N canvas 981 48 499 396 display 0; -#X obj 6 7 inlet; -#X obj 6 28 mapping/resample 100; -#X obj 6 50 outlet; -#X obj 54 50 inlet; -#X obj 54 71 mapping/resample 100; -#X obj 54 93 outlet; -#X obj 103 93 inlet; -#X obj 103 114 mapping/resample 100; -#X obj 103 136 outlet; -#X obj 151 136 inlet; -#X obj 151 157 mapping/resample 100; -#X obj 151 179 outlet; -#X obj 200 179 inlet; -#X obj 200 200 mapping/resample 100; -#X obj 200 222 outlet; -#X obj 247 222 inlet; -#X obj 247 243 mapping/resample 100; -#X obj 247 265 outlet; -#X obj 295 265 inlet; -#X obj 295 286 mapping/resample 100; -#X obj 295 308 outlet; -#X obj 345 308 inlet; -#X obj 345 329 mapping/resample 100; -#X obj 345 351 outlet; -#X obj 60 290 receive ARDUINO_TEST_RESET; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X connect 3 0 4 0; -#X connect 4 0 5 0; -#X connect 6 0 7 0; -#X connect 7 0 8 0; -#X connect 9 0 10 0; -#X connect 10 0 11 0; -#X connect 12 0 13 0; -#X connect 13 0 14 0; -#X connect 15 0 16 0; -#X connect 16 0 17 0; -#X connect 18 0 19 0; -#X connect 19 0 20 0; -#X connect 21 0 22 0; -#X connect 22 0 23 0; -#X connect 24 0 22 0; -#X connect 24 0 19 0; -#X connect 24 0 16 0; -#X connect 24 0 13 0; -#X connect 24 0 10 0; -#X connect 24 0 7 0; -#X connect 24 0 4 0; -#X connect 24 0 1 0; -#X restore -126 543 pd display values without pegging the CPU; -#X text -34 350 digital inputs:; -#X obj -186 227 arduino 4; -#X obj -186 299 route analog string sysex digital; -#X obj -28 464 tgl 10 0 empty ARDUINO_TEST_RESET 1 0 20 0 10 -260097 --1 -1 0 1; -#X obj -15 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -204800 --1 -1 0 1; -#X obj -2 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -204800 --1 -1 0 1; -#X obj 11 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -204800 --1 -1 0 1; -#X obj 23 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -204800 --1 -1 0 1; -#X obj 36 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -204800 --1 -1 0 1; -#X obj 49 464 tgl 10 0 empty ARDUINO_TEST_RESET 7 0 20 0 10 -204800 --1 -1 0 1; -#X obj 62 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -204800 --1 -1 0 1; -#X obj 75 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -204800 --1 -1 0 1; -#X obj 87 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -204800 --1 -1 0 1; -#X obj 100 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -204800 --1 -1 0 1; -#X obj 113 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -204800 --1 -1 0 1; -#X obj 126 464 tgl 10 0 empty ARDUINO_TEST_RESET 13 -2 20 0 10 -204800 --1 -1 0 1; -#X obj 138 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -261682 --1 -1 0 1; -#X obj 151 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -261682 --1 -1 0 1; -#X obj 164 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -261682 --1 -1 0 1; -#X obj 177 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -261682 --1 -1 0 1; -#X obj 190 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -261682 --1 -1 0 1; -#X obj 202 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -261682 --1 -1 0 1; -#X obj 215 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -261682 --1 -1 0 1; -#X obj 228 464 tgl 10 0 empty ARDUINO_TEST_RESET 21 -2 20 0 10 -261682 --1 -1 0 1; -#X obj 241 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 253 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 266 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 279 464 tgl 10 0 empty ARDUINO_TEST_RESET 25 -2 20 0 10 -232576 --1 -1 0 1; -#X obj 292 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 305 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 318 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 331 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 357 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 344 464 tgl 10 0 empty ARDUINO_TEST_RESET 30 -2 20 0 10 -232576 --1 -1 0 1; -#X obj 370 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 383 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 396 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 409 464 tgl 10 0 empty ARDUINO_TEST_RESET 35 -2 20 0 10 -232576 --1 -1 0 1; -#X obj 422 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 435 464 tgl 10 0 empty ARDUINO_TEST_RESET empty -2 20 0 10 -203904 --1 -1 0 1; -#X obj 448 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 461 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 474 464 tgl 10 0 empty ARDUINO_TEST_RESET 40 -2 20 0 10 -232576 --1 -1 0 1; -#X obj 487 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 500 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 513 464 tgl 10 0 empty ARDUINO_TEST_RESET empty -2 20 0 10 -203904 --1 -1 0 1; -#X obj 526 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 539 464 tgl 10 0 empty ARDUINO_TEST_RESET 45 -2 20 0 10 -232576 --1 -1 0 1; -#X obj 552 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 565 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 578 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 591 464 tgl 10 0 empty ARDUINO_TEST_RESET empty -2 20 0 10 -203904 --1 -1 0 1; -#X obj 604 464 tgl 10 0 empty ARDUINO_TEST_RESET 50 -2 20 0 10 -232576 --1 -1 0 1; -#X obj 617 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 630 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj 643 464 tgl 10 0 empty ARDUINO_TEST_RESET empty 0 20 0 10 -203904 --1 -1 0 1; -#X obj -40 368 route 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 -19 20 21 22 23 24 25 26; -#X obj 305 407 route 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 -43 44 45 46 47 48 49 50 51 52 53; -#N canvas 484 84 593 390 strings 0; -#X obj -178 287 outlet; -#X obj -142 101 moocow/any2string; -#X symbolatom -92 48 10 0 0 0 - - -; -#X obj -119 179 pddp/print; -#X obj -92 68 list trim; -#X msg -175 39 test; -#X msg -139 40 TEST; -#X obj -142 130 cyclone/prepend string; -#X obj -313 102 moocow/any2string; -#X symbolatom -263 49 10 0 0 0 - - -; -#X obj -314 202 pddp/print; -#X obj -263 69 list trim; -#X msg -346 40 test; -#X msg -310 41 TEST; -#X obj -313 153 cyclone/prepend sysex; -#X obj -313 131 cyclone/prepend 40; -#X msg 66 117 samplingInterval \$1; -#X obj 69 93 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 0 1; -#X floatatom 27 117 5 0 0 0 - - -; -#X connect 1 0 7 0; -#X connect 2 0 4 0; -#X connect 4 0 1 0; -#X connect 5 0 1 0; -#X connect 6 0 1 0; -#X connect 7 0 3 0; -#X connect 7 0 0 0; -#X connect 8 0 15 0; -#X connect 9 0 11 0; -#X connect 11 0 8 0; -#X connect 12 0 8 0; -#X connect 13 0 8 0; -#X connect 14 0 0 0; -#X connect 14 0 10 0; -#X connect 15 0 14 0; -#X connect 16 0 0 0; -#X connect 17 0 16 0; -#X connect 17 0 18 0; -#X restore -495 180 pd strings and special messages; -#X text 299 261 Patch Arduino modifie pour le MEGA; -#X obj -186 500 route 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; -#X connect 0 0 46 0; -#X connect 0 1 2 0; -#X connect 2 0 60 0; -#X connect 3 0 41 1; -#X connect 10 0 41 0; -#X connect 25 0 60 0; -#X connect 26 0 60 0; -#X connect 27 0 60 0; -#X connect 28 0 27 0; -#X connect 31 0 4 0; -#X connect 31 1 5 0; -#X connect 31 2 6 0; -#X connect 31 3 7 0; -#X connect 31 4 8 0; -#X connect 31 5 9 0; -#X connect 31 6 29 0; -#X connect 31 7 30 0; -#X connect 32 0 33 0; -#X connect 34 0 60 0; -#X connect 35 0 60 0; -#X connect 37 0 32 0; -#X connect 40 0 49 0; -#X connect 41 0 48 0; -#X connect 43 0 60 0; -#X connect 46 0 60 0; -#X connect 48 0 60 0; -#X connect 49 0 60 0; -#X connect 58 0 50 0; -#X connect 58 1 51 0; -#X connect 58 2 52 0; -#X connect 58 3 53 0; -#X connect 58 4 54 0; -#X connect 58 5 55 0; -#X connect 58 6 56 0; -#X connect 58 7 57 0; -#X connect 60 0 61 0; -#X connect 60 1 37 0; -#X connect 61 0 119 0; -#X connect 61 1 36 0; -#X connect 61 2 38 0; -#X connect 61 3 115 0; -#X connect 115 0 42 0; -#X connect 115 1 62 0; -#X connect 115 2 63 0; -#X connect 115 3 64 0; -#X connect 115 4 65 0; -#X connect 115 5 66 0; -#X connect 115 6 67 0; -#X connect 115 7 68 0; -#X connect 115 8 69 0; -#X connect 115 9 70 0; -#X connect 115 10 71 0; -#X connect 115 11 72 0; -#X connect 115 12 73 0; -#X connect 115 13 74 0; -#X connect 115 14 75 0; -#X connect 115 15 76 0; -#X connect 115 16 77 0; -#X connect 115 17 78 0; -#X connect 115 18 79 0; -#X connect 115 19 80 0; -#X connect 115 20 81 0; -#X connect 115 21 82 0; -#X connect 115 22 83 0; -#X connect 115 23 84 0; -#X connect 115 24 85 0; -#X connect 115 25 86 0; -#X connect 115 26 87 0; -#X connect 115 27 116 0; -#X connect 116 0 88 0; -#X connect 116 1 89 0; -#X connect 116 2 90 0; -#X connect 116 3 92 0; -#X connect 116 4 91 0; -#X connect 116 5 93 0; -#X connect 116 6 94 0; -#X connect 116 7 95 0; -#X connect 116 8 96 0; -#X connect 116 9 97 0; -#X connect 116 10 98 0; -#X connect 116 11 99 0; -#X connect 116 12 100 0; -#X connect 116 13 101 0; -#X connect 116 14 102 0; -#X connect 116 15 103 0; -#X connect 116 16 104 0; -#X connect 116 17 105 0; -#X connect 116 18 106 0; -#X connect 116 19 107 0; -#X connect 116 20 108 0; -#X connect 116 21 109 0; -#X connect 116 22 110 0; -#X connect 116 23 111 0; -#X connect 116 24 112 0; -#X connect 116 25 113 0; -#X connect 116 26 114 0; -#X connect 117 0 60 0; -#X connect 119 0 31 0; -#X connect 119 1 31 1; -#X connect 119 2 31 2; -#X connect 119 3 31 3; -#X connect 119 4 31 4; -#X connect 119 5 31 5; -#X connect 119 6 31 6; -#X connect 119 7 31 7; -#X connect 119 8 58 0; -#X connect 119 9 58 1; -#X connect 119 10 58 2; -#X connect 119 11 58 3; -#X connect 119 12 58 4; -#X connect 119 13 58 5; -#X connect 119 14 58 6; -#X connect 119 15 58 7; diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 86c8f8d..0000000 --- a/debian/changelog +++ /dev/null @@ -1,5 +0,0 @@ -pd-arduino (0.5.1-1) unstable; urgency=low - - * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP> - - -- Hans-Christoph Steiner <hans@eds.org> Thu, 04 Oct 2012 11:45:42 -0400 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 7f8f011..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -7 diff --git a/debian/control b/debian/control deleted file mode 100644 index d7af0bc..0000000 --- a/debian/control +++ /dev/null @@ -1,31 +0,0 @@ -Source: pd-arduino -Section: sound -Priority: optional -Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org> -Uploaders: Hans-Christoph Steiner <hans@eds.org> -Build-Depends: debhelper (>= 7.0.50~), - puredata-dev | puredata (<< 0.43) -Standards-Version: 3.9.3 -Homepage: http://firmata.org -Vcs-Git: git://anonscm.debian.org/pkg-multimedia/pd-arduino.git -Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/pd-arduino.git;a=summary - -Package: pd-arduino -Architecture: any -Depends: ${shlibs:Depends}, - puredata-core | pd, - pd-comport, - pd-cyclone, - pd-mapping, - pd-moocow, - pd-pddp, - pd-zexy, - ${misc:Depends} -Suggests: arduino -Description: Pd object for Firmata communications with Arduinos - This package includes a Pd object and a matching Arduino firmware. It allows - you to control the Arduino board from Pd without having to program in - Arduino's C++. It is an implementation of the Firmata protocol. Firmata is a - generic protocol for communicating with microcontrollers from software on a - host computer. It is intended to work with any host computer software - package. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 2a48317..0000000 --- a/debian/copyright +++ /dev/null @@ -1,23 +0,0 @@ -Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135 -Name: arduino -Maintainer: -Source: http://sourceforge.net/projects/pure-data/files/libraries/arduino/ - -Files: * -Copyright: 2001-2003, Free Software Foundation -License: GPL-2+ - This package is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - . - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this package; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -X-Comment: On Debian systems, the complete text of the GNU General - Public License can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/debian/gbp.conf b/debian/gbp.conf deleted file mode 100644 index ae1dc36..0000000 --- a/debian/gbp.conf +++ /dev/null @@ -1,7 +0,0 @@ -[DEFAULT] -upstream-branch = upstream -debian-branch = master -upstream-tag = upstream/%(version)s -debian-tag = debian/%(version)s -pristine-tar = True -sign-tags = True diff --git a/debian/links b/debian/links deleted file mode 100644 index 2702674..0000000 --- a/debian/links +++ /dev/null @@ -1,3 +0,0 @@ -usr/lib/pd/extra/arduino/README.txt usr/share/doc/pd-arduino/README -usr/lib/pd/extra/arduino/examples usr/share/doc/pd-arduino/examples -usr/share/common-licenses/GPL-2 usr/lib/pd/extra/arduino/LICENSE.txt diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 899d6fe..0000000 --- a/debian/rules +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/make -f - -LIBRARY_NAME = arduino -PACKAGE = pd-$(LIBRARY_NAME) -pkglibdir = /usr/lib/pd/extra - -%: - dh $@ --buildsystem=makefile - -override_dh_auto_install: - dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir) -# replace license file with link to the Debian license file - rm -f -- $(CURDIR)/debian/$(PACKAGE)/$(pkglibdir)/$(LIBRARY_NAME)/LICENSE.txt - -override_dh_shlibdeps: - dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \ - -T$(CURDIR)/debian/$(PACKAGE).substvars diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 163aaf8..0000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/debian/source/local-options b/debian/source/local-options deleted file mode 100644 index 9cdfca9..0000000 --- a/debian/source/local-options +++ /dev/null @@ -1,2 +0,0 @@ -unapply-patches -abort-on-upstream-changes diff --git a/debian/watch b/debian/watch deleted file mode 100644 index d75e23e..0000000 --- a/debian/watch +++ /dev/null @@ -1,2 +0,0 @@ -version=3 -http://sf.net/pure-data/pduino-(.*)\.tar\.gz diff --git a/examples/LED-lighting-fade.pd b/examples/LED-lighting-fade.pd deleted file mode 100644 index 46a2dcf..0000000 --- a/examples/LED-lighting-fade.pd +++ /dev/null @@ -1,80 +0,0 @@ -#N canvas 97 22 702 588 12; -#X declare -lib mapping; -#X obj 357 466 arduino 2; -#X obj 41 310 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 10510 1; -#X floatatom 49 346 5 0 0 0 - - -; -#X obj 197 302 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 6223 1; -#X floatatom 201 322 5 0 0 0 - - -; -#X obj 195 463 pddp/print; -#X obj 118 56 float; -#X obj 177 57 + 1; -#X obj 117 5 tgl 15 0 empty empty empty 17 7 0 10 -204786 -1 -1 1 1 -; -#X obj 118 91 % 30; -#X floatatom 131 121 5 0 0 0 - - -; -#X obj 118 146 autoscale; -#X obj 38 230 disjoin; -#X obj 84 257 reverse; -#X obj 194 230 disjoin; -#X obj 240 255 reverse; -#X obj 310 151 hsl 50 15 0 1 0 1 \$0-x-slider \$0-x-slider-receive -x 5 9 0 11 -232576 -1 -1 1300 0; -#X floatatom 327 171 7 0 0 0 - - -; -#X obj 194 201 exponential_sigmoid; -#X obj 498 -42 import mapping; -#X msg 424 42 devices; -#X msg 429 83 open 4; -#X text 483 41 1) click this message to get; -#X text 485 58 the number of your arduino; -#X text 483 83 2) put your arduino # here; -#X text 484 103 and click this message; -#X text 438 135 3) wait for a few seconds for your; -#X text 438 153 arduino to reboot \, then click both; -#X text 438 171 of the messages below to configure; -#X text 438 190 your arduino; -#X text 515 217 (set pin 5 to PWM mode); -#X text 138 2 4) click this to start the LEDs-a-pulsing; -#X text 225 128 of the pulsing; -#X text 225 114 5) adjust the curve; -#X text 515 247 (set pin 6 to PWM mode); -#X text 28 -52 This example patch requires an Arduino and two LEDs. -Plug in the LEDs into pins 5 and 6 on your Arduino.; -#X msg 40 372 pwm 5 \$1; -#X obj 195 351 prepend pwm 6; -#X obj 40 463 pddp/print; -#X text 48 435 see the messages:; -#X msg 417 246 pinMode 6 pwm; -#X msg 414 219 pinMode 5 pwm; -#X obj 117 28 metro 100; -#X connect 1 0 36 0; -#X connect 1 0 2 0; -#X connect 3 0 4 0; -#X connect 3 0 37 0; -#X connect 6 0 7 0; -#X connect 6 0 9 0; -#X connect 7 0 6 1; -#X connect 8 0 42 0; -#X connect 9 0 10 0; -#X connect 9 0 11 0; -#X connect 11 0 12 0; -#X connect 11 0 18 0; -#X connect 12 0 1 0; -#X connect 12 1 13 0; -#X connect 13 0 1 0; -#X connect 14 0 3 0; -#X connect 14 1 15 0; -#X connect 15 0 3 0; -#X connect 16 0 17 0; -#X connect 16 0 18 1; -#X connect 18 0 14 0; -#X connect 20 0 0 0; -#X connect 21 0 0 0; -#X connect 36 0 0 0; -#X connect 36 0 38 0; -#X connect 37 0 5 0; -#X connect 37 0 0 0; -#X connect 40 0 0 0; -#X connect 41 0 0 0; -#X connect 42 0 6 0; diff --git a/examples/simple_input.pd b/examples/simple_input.pd deleted file mode 100644 index 55d5827..0000000 --- a/examples/simple_input.pd +++ /dev/null @@ -1,20 +0,0 @@ -#N canvas 194 50 450 300 10; -#X obj 114 139 arduino; -#X msg 114 54 pinMode 5 0; -#X msg 130 82 digitalIns 0 1; -#X msg 144 112 analogIns 0 1; -#X obj 114 167 route digital analog; -#X msg 90 29 open 0; -#X obj 172 192 route 0; -#X obj 172 215 print Analog pin 0 value is; -#X obj 114 238 print Digital pin 5 is; -#X obj 114 203 route 5; -#X connect 0 0 4 0; -#X connect 1 0 0 0; -#X connect 2 0 0 0; -#X connect 3 0 0 0; -#X connect 4 0 9 0; -#X connect 4 1 6 0; -#X connect 5 0 0 0; -#X connect 6 0 7 0; -#X connect 9 0 8 0; diff --git a/make-release.sh b/make-release.sh deleted file mode 100755 index 5d5c328..0000000 --- a/make-release.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -if [ $# -ne 1 ]; then - echo "Usage: $0 FIRMATA_VERSION" - exit -fi - -PDUINO_VERSION=`grep version_ arduino.pd | sed 's|.*version_\(.*\);|\1|'` -FIRMATA_VERSION=$2 - -PDUINO_DIR=Pduino-${PDUINO_VERSION} -FIRMATA_DIR=Firmata-${FIRMATA_VERSION} - -mkdir /tmp/pduino-release -cd /tmp/pduino-release -svn co https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/hardware/arduino $PDUINO_DIR - -cd $PDUINO_DIR -/sw/bin/svn2cl -svn co https://firmata.svn.sourceforge.net/svnroot/firmata/arduino/trunk $FIRMATA_DIR - -cd $FIRMATA_DIR -/sw/bin/svn2cl -cd .. - -#remove cruft -find . -name .DS_Store -delete -find . -name .svn -print0 | xargs -0 rm -r -rm -rf PICduino examples arduino-stress-test.pd - -zip -9r ../${FIRMATA_DIR}.zip $FIRMATA_DIR -cd .. -zip -9r ${PDUINO_DIR}.zip $PDUINO_DIR - -# add to CVS for my website -cp -a ${FIRMATA_DIR}.zip ${PDUINO_DIR}.zip ~/code/works/pd/ -cd ~/code/works/pd -cvs add ${FIRMATA_DIR}.zip ${PDUINO_DIR}.zip - -# change the versions in the HTML -sed -i "s|Firmata-[0-9][.0-9A-Za-z_-]*\.zip|${FIRMATA_DIR}.zip|g" objects.html -sed -i "s|Pduino-[0-9][.0-9A-Za-z_-]*\.zip|${PDUINO_DIR}.zip|g" objects.html - - - - - diff --git a/wiring-test.pd b/wiring-test.pd deleted file mode 100644 index fe1fdbb..0000000 --- a/wiring-test.pd +++ /dev/null @@ -1,1277 +0,0 @@ -#N canvas 33 50 968 551 10; -#X obj 405 92 cnv 15 100 22 empty empty empty 20 12 0 14 -253938 -66577 -0; -#X obj 405 216 cnv 15 85 22 empty empty empty 20 12 0 14 -253938 -66577 -0; -#X obj 22 90 cnv 15 60 22 empty empty empty 20 12 0 14 -253938 -66577 -0; -#N canvas 146 163 525 433 serin 0; -#X obj 180 61 cnv 15 15 15 empty \$0-number-canvas 3 4 8 0 14 -233017 --1 0; -#X obj 200 225 s \$0-number-canvas; -#X obj 60 61 hradio 15 1 1 8 empty empty empty 0 -6 0 8 -225271 -1 --1 3; -#X obj 60 13 inlet; -#X msg 200 202 label \$1; -#X obj 200 180 makefilename %d; -#X obj 59 108 int; -#X msg 59 206 open \$1; -#X obj 59 377 outlet; -#X msg 201 306 set \$1 \$2; -#X obj 59 266 trigger bang anything; -#X obj 201 286 list; -#X obj 383 383 outlet; -#X obj 384 22 netreceive 34567; -#X obj 477 43 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0 -1; -#X obj 384 41 bng 15 250 50 0 empty empty empty 0 -6 0 10 -262144 -1 --1; -#X obj 187 24 delay 15000; -#X text 345 379 close; -#X text 209 4 for open/close automation in Makefile; -#X obj 184 95 bang; -#X msg 184 116 set 0; -#X obj 185 137 send WIRING_TEST_RESET; -#X connect 2 0 6 0; -#X connect 2 0 19 0; -#X connect 3 0 2 0; -#X connect 4 0 1 0; -#X connect 5 0 4 0; -#X connect 6 0 5 0; -#X connect 6 0 7 0; -#X connect 7 0 10 0; -#X connect 9 0 8 0; -#X connect 10 0 8 0; -#X connect 10 1 11 0; -#X connect 11 0 9 0; -#X connect 13 0 15 0; -#X connect 13 1 14 0; -#X connect 15 0 16 0; -#X connect 15 0 12 0; -#X connect 16 0 2 0; -#X connect 19 0 20 0; -#X connect 20 0 21 0; -#X coords 0 -1 1 1 136 17 1 60 60; -#X restore 28 69 pd serin; -#X text 25 51 serial port #; -#X msg 88 92 close; -#X obj 461 171 hsl 150 17 0 1 0 0 empty WIRING_TEST_RESET analog_output_(0-1) -20 9 1 10 -225271 -1 -1 0 0; -#X floatatom 22 446 5 0 0 3 a0 - -; -#X floatatom 68 446 5 0 0 3 a1 - -; -#X floatatom 114 446 5 0 0 3 a2 - -; -#X floatatom 160 446 5 0 0 3 a3 - -; -#X floatatom 206 446 5 0 0 3 a4 - -; -#X floatatom 252 446 5 0 0 3 a5 - -; -#X obj 413 137 hradio 15 1 0 54 empty empty empty 0 -6 0 8 -176124 --1 -1 0; -#X msg 121 132 info; -#X msg 121 152 version; -#N canvas 448 168 850 496 sending 0; -#X obj 69 228 cnv 15 100 22 empty empty empty 20 12 0 14 -253938 -66577 -0; -#X obj 78 434 outlet; -#X msg 78 231 digital 48 0; -#X obj 127 148 tgl 15 0 empty WIRING_TEST_RESET 7 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 144 148 tgl 15 0 empty WIRING_TEST_RESET 8 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 161 148 tgl 15 0 empty WIRING_TEST_RESET 9 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 178 148 tgl 15 0 empty WIRING_TEST_RESET 10 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 195 148 tgl 15 0 empty WIRING_TEST_RESET 11 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 212 148 tgl 15 0 empty WIRING_TEST_RESET 12 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 229 148 tgl 15 0 empty WIRING_TEST_RESET 13 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 42 148 tgl 15 0 empty WIRING_TEST_RESET 2 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 59 148 tgl 15 0 empty WIRING_TEST_RESET 3 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 76 148 tgl 15 0 empty WIRING_TEST_RESET 4 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 93 148 tgl 15 0 empty WIRING_TEST_RESET 5 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 110 148 tgl 15 0 empty WIRING_TEST_RESET 6 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 351 93 tgl 25 0 empty ARDUINO_TEST_RESET ALL 2 12 0 12 -262144 --1 -1 0 1; -#X obj 388 72 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 16383 -; -#X obj 388 92 metro 100; -#X obj 301 9 inlet; -#X obj 301 43 trigger 0 float; -#X obj 301 64 select 0; -#X msg 301 84 0; -#X msg 405 389 port 1 0; -#X msg 263 389 port 0 0; -#X msg 189 389 port 0 255; -#X msg 331 389 port 1 255; -#X text 95 291 or send 8-bit ports in one message:; -#X msg 159 338 port 1 \$1; -#X msg 91 338 port 0 \$1; -#X msg 230 338 port 2 \$1; -#X obj 362 297 tgl 25 0 empty WIRING_TEST_RESET ALL 2 12 0 12 -262144 --1 -1 0 1; -#X obj 362 246 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 -16383; -#X obj 362 266 metro 100; -#X floatatom 362 329 5 0 0 0 - - -; -#X obj 246 148 tgl 15 0 empty WIRING_TEST_RESET 14 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 263 148 tgl 15 0 empty WIRING_TEST_RESET 15 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 280 148 tgl 15 0 empty WIRING_TEST_RESET 16 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 297 148 tgl 15 0 empty WIRING_TEST_RESET 17 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 314 148 tgl 15 0 empty WIRING_TEST_RESET 18 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 331 148 tgl 15 0 empty WIRING_TEST_RESET 19 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 348 148 tgl 15 0 empty WIRING_TEST_RESET 20 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 365 148 tgl 15 0 empty WIRING_TEST_RESET 21 0 -6 1 12 -233017 --1 -1 0 1; -#N canvas 319 397 1095 339 generate 0; -#X obj 12 24 inlet; -#X obj 52 24 inlet; -#X obj 91 24 inlet; -#X obj 131 24 inlet; -#X obj 171 24 inlet; -#X obj 211 24 inlet; -#X obj 250 24 inlet; -#X obj 290 24 inlet; -#X obj 331 23 inlet; -#X obj 371 23 inlet; -#X obj 410 23 inlet; -#X obj 450 23 inlet; -#X obj 490 23 inlet; -#X msg 12 66 digital 0 \$1; -#X msg 52 88 digital 1 \$1; -#X msg 91 110 digital 2 \$1; -#X msg 131 130 digital 3 \$1; -#X msg 171 62 digital 4 \$1; -#X msg 211 84 digital 5 \$1; -#X msg 250 106 digital 6 \$1; -#X msg 290 126 digital 7 \$1; -#X msg 331 58 digital 8 \$1; -#X msg 371 80 digital 9 \$1; -#X msg 410 102 digital 10 \$1; -#X msg 450 122 digital 11 \$1; -#X msg 490 50 digital 12 \$1; -#X obj 529 23 inlet; -#X msg 529 70 digital 13 \$1; -#X obj 513 302 outlet; -#X obj 513 263 trigger bang anything; -#X obj 513 214 list prepend set; -#X obj 513 238 list trim; -#X obj 570 23 inlet; -#X obj 610 23 inlet; -#X obj 650 23 inlet; -#X obj 689 23 inlet; -#X msg 570 102 digital 14 \$1; -#X msg 610 122 digital 15 \$1; -#X msg 650 50 digital 16 \$1; -#X msg 689 70 digital 17 \$1; -#X obj 730 23 inlet; -#X obj 770 23 inlet; -#X obj 810 23 inlet; -#X obj 849 23 inlet; -#X msg 730 102 digital 18 \$1; -#X msg 770 122 digital 19 \$1; -#X msg 810 50 digital 20 \$1; -#X msg 849 70 digital 21 \$1; -#X obj 890 23 inlet; -#X obj 930 23 inlet; -#X msg 890 102 digital 22 \$1; -#X msg 930 122 digital 23 \$1; -#X obj 994 23 inlet; -#X msg 994 57 digital 48 \$1; -#X connect 0 0 13 0; -#X connect 1 0 14 0; -#X connect 2 0 15 0; -#X connect 3 0 16 0; -#X connect 4 0 17 0; -#X connect 5 0 18 0; -#X connect 6 0 19 0; -#X connect 7 0 20 0; -#X connect 8 0 21 0; -#X connect 9 0 22 0; -#X connect 10 0 23 0; -#X connect 11 0 24 0; -#X connect 12 0 25 0; -#X connect 13 0 30 0; -#X connect 14 0 30 0; -#X connect 15 0 30 0; -#X connect 16 0 30 0; -#X connect 17 0 30 0; -#X connect 18 0 30 0; -#X connect 19 0 30 0; -#X connect 20 0 30 0; -#X connect 21 0 30 0; -#X connect 22 0 30 0; -#X connect 23 0 30 0; -#X connect 24 0 30 0; -#X connect 25 0 30 0; -#X connect 26 0 27 0; -#X connect 27 0 30 0; -#X connect 29 0 28 0; -#X connect 29 1 28 0; -#X connect 30 0 31 0; -#X connect 31 0 29 0; -#X connect 32 0 36 0; -#X connect 33 0 37 0; -#X connect 34 0 38 0; -#X connect 35 0 39 0; -#X connect 36 0 30 0; -#X connect 37 0 30 0; -#X connect 38 0 30 0; -#X connect 39 0 30 0; -#X connect 40 0 44 0; -#X connect 41 0 45 0; -#X connect 42 0 46 0; -#X connect 43 0 47 0; -#X connect 44 0 30 0; -#X connect 45 0 30 0; -#X connect 46 0 30 0; -#X connect 47 0 30 0; -#X connect 48 0 50 0; -#X connect 49 0 51 0; -#X connect 50 0 30 0; -#X connect 51 0 30 0; -#X connect 52 0 53 0; -#X connect 53 0 30 0; -#X restore 78 201 pd generate digital out messages ------------------ -; -#X obj 382 148 tgl 15 0 empty WIRING_TEST_RESET 22 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 399 148 tgl 15 0 empty WIRING_TEST_RESET 23 0 -6 1 12 -233017 --1 -1 0 1; -#X obj 8 148 tgl 15 0 empty WIRING_TEST_RESET 0 4 -6 1 12 -233017 -1 --1 0 1; -#X obj 25 148 tgl 15 0 empty WIRING_TEST_RESET 1 4 -6 1 12 -233017 --1 -1 0 1; -#X obj 434 148 tgl 15 0 empty WIRING_TEST_RESET 48 0 -6 1 12 -233017 --1 -1 0 1; -#X connect 2 0 1 0; -#X connect 3 0 42 7; -#X connect 4 0 42 8; -#X connect 5 0 42 9; -#X connect 6 0 42 10; -#X connect 7 0 42 11; -#X connect 8 0 42 12; -#X connect 9 0 42 13; -#X connect 10 0 42 2; -#X connect 11 0 42 3; -#X connect 12 0 42 4; -#X connect 13 0 42 5; -#X connect 14 0 42 6; -#X connect 15 0 9 0; -#X connect 15 0 8 0; -#X connect 15 0 7 0; -#X connect 15 0 6 0; -#X connect 15 0 5 0; -#X connect 15 0 4 0; -#X connect 15 0 3 0; -#X connect 15 0 14 0; -#X connect 15 0 13 0; -#X connect 15 0 12 0; -#X connect 15 0 11 0; -#X connect 15 0 10 0; -#X connect 15 0 39 0; -#X connect 15 0 40 0; -#X connect 15 0 41 0; -#X connect 15 0 38 0; -#X connect 15 0 37 0; -#X connect 15 0 36 0; -#X connect 15 0 35 0; -#X connect 15 0 34 0; -#X connect 15 0 44 0; -#X connect 15 0 43 0; -#X connect 15 0 46 0; -#X connect 15 0 45 0; -#X connect 15 0 47 0; -#X connect 16 0 17 0; -#X connect 17 0 15 0; -#X connect 18 0 19 0; -#X connect 19 0 20 0; -#X connect 19 1 16 0; -#X connect 20 0 21 0; -#X connect 21 0 15 0; -#X connect 22 0 1 0; -#X connect 23 0 1 0; -#X connect 24 0 1 0; -#X connect 25 0 1 0; -#X connect 27 0 1 0; -#X connect 28 0 1 0; -#X connect 29 0 1 0; -#X connect 30 0 33 0; -#X connect 30 0 29 0; -#X connect 30 0 27 0; -#X connect 30 0 28 0; -#X connect 31 0 32 0; -#X connect 32 0 30 0; -#X connect 34 0 42 14; -#X connect 35 0 42 15; -#X connect 36 0 42 16; -#X connect 37 0 42 17; -#X connect 38 0 42 18; -#X connect 39 0 42 19; -#X connect 40 0 42 20; -#X connect 41 0 42 21; -#X connect 42 0 2 0; -#X connect 43 0 42 22; -#X connect 44 0 42 23; -#X connect 45 0 42 0; -#X connect 46 0 42 1; -#X connect 47 0 42 24; -#X restore 411 268 pd sending digital outs; -#X obj 411 249 tgl 15 0 empty WIRING_TEST_RESET empty 0 -6 0 8 -225271 --1 -1 0 16383; -#X floatatom 298 446 5 0 0 3 a6 - -; -#X floatatom 344 446 5 0 0 3 a7 - -; -#X obj 115 388 route 0 1 2 3 4 5 6 7; -#N canvas 704 277 499 396 display 0; -#X obj 6 7 inlet; -#X obj 6 28 mapping/resample 100; -#X obj 6 50 outlet; -#X obj 54 50 inlet; -#X obj 54 71 mapping/resample 100; -#X obj 54 93 outlet; -#X obj 103 93 inlet; -#X obj 103 114 mapping/resample 100; -#X obj 103 136 outlet; -#X obj 151 136 inlet; -#X obj 151 157 mapping/resample 100; -#X obj 151 179 outlet; -#X obj 200 179 inlet; -#X obj 200 200 mapping/resample 100; -#X obj 200 222 outlet; -#X obj 247 222 inlet; -#X obj 247 243 mapping/resample 100; -#X obj 247 265 outlet; -#X obj 295 265 inlet; -#X obj 295 286 mapping/resample 100; -#X obj 295 308 outlet; -#X obj 345 308 inlet; -#X obj 345 329 mapping/resample 100; -#X obj 345 351 outlet; -#X obj 60 290 receive WIRING_TEST_RESET; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X connect 3 0 4 0; -#X connect 4 0 5 0; -#X connect 6 0 7 0; -#X connect 7 0 8 0; -#X connect 9 0 10 0; -#X connect 10 0 11 0; -#X connect 12 0 13 0; -#X connect 13 0 14 0; -#X connect 15 0 16 0; -#X connect 16 0 17 0; -#X connect 18 0 19 0; -#X connect 19 0 20 0; -#X connect 21 0 22 0; -#X connect 22 0 23 0; -#X connect 24 0 22 0; -#X connect 24 0 19 0; -#X connect 24 0 16 0; -#X connect 24 0 13 0; -#X connect 24 0 10 0; -#X connect 24 0 7 0; -#X connect 24 0 4 0; -#X connect 24 0 1 0; -#X restore 45 420 pd display values without pegging the CPU; -#X obj 428 475 tgl 15 0 empty WIRING_TEST_RESET 2 4 23 1 12 -232448 --1 -1 0 1; -#X obj 445 475 tgl 15 0 empty WIRING_TEST_RESET 3 4 23 1 12 -232448 --1 -1 0 1; -#X obj 462 475 tgl 15 0 empty WIRING_TEST_RESET 4 4 23 1 12 -232448 --1 -1 0 1; -#X obj 479 475 tgl 15 0 empty WIRING_TEST_RESET 5 4 23 1 12 -232448 --1 -1 0 1; -#X obj 496 475 tgl 15 0 empty WIRING_TEST_RESET 6 4 23 1 12 -232448 --1 -1 0 1; -#X obj 513 475 tgl 15 0 empty WIRING_TEST_RESET 7 4 23 1 12 -232448 --1 -1 0 1; -#X obj 530 475 tgl 15 0 empty WIRING_TEST_RESET 8 4 23 1 12 -232448 --1 -1 0 1; -#X obj 547 475 tgl 15 0 empty WIRING_TEST_RESET 9 4 23 1 12 -232448 --1 -1 0 1; -#X obj 564 475 tgl 15 0 empty WIRING_TEST_RESET 10 0 23 1 12 -232448 --1 -1 0 1; -#X obj 581 475 tgl 15 0 empty WIRING_TEST_RESET 11 0 23 1 12 -232448 --1 -1 0 1; -#X obj 598 475 tgl 15 0 empty WIRING_TEST_RESET 12 0 23 1 12 -232448 --1 -1 0 1; -#X obj 615 475 tgl 15 0 empty WIRING_TEST_RESET 13 0 23 1 12 -232448 --1 -1 0 1; -#X text 2 504 (C) Copyright 2006 Free Software Foundation; -#N canvas 3 48 451 224 ver 0; -#X obj 23 7 inlet; -#X obj 250 100 cnv 15 145 17 empty \$0-version_cnv empty 4 10 0 12 --203904 -1 0; -#X obj 23 157 send \$0-version_cnv; -#X msg 23 132 label \$1; -#X obj 48 103 symbol; -#X obj 38 77 loadbang; -#X msg 96 78 bang; -#X obj 309 163 outlet; -#X obj 23 52 zexy/makesymbol Firmata-%s.%s; -#X obj 23 29 route version bang; -#X connect 0 0 9 0; -#X connect 3 0 2 0; -#X connect 4 0 3 0; -#X connect 5 0 4 0; -#X connect 6 0 4 0; -#X connect 8 0 3 0; -#X connect 9 0 8 0; -#X connect 9 1 7 0; -#X connect 9 1 6 0; -#X connect 9 2 7 0; -#X coords 0 -1 1 1 145 17 1 250 100; -#X restore 397 337 pd ver; -#N canvas 649 518 411 212 firmware 0; -#X obj 123 2 inlet; -#X obj 250 100 cnv 15 145 17 empty \$0-firmware_cnv empty 4 10 0 12 --232576 -66577 0; -#X msg 123 156 label \$1; -#X obj 148 127 symbol; -#X obj 138 101 loadbang; -#X msg 196 102 bang; -#X obj 123 181 send \$0-firmware_cnv; -#X obj 123 24 route firmware; -#X obj 18 181 print Firmware; -#X obj 123 49 list; -#X obj 123 80 zexy/makesymbol %s-%s.%s; -#X obj 18 151 list trim; -#X obj 204 45 route bang; -#X connect 0 0 7 0; -#X connect 2 0 6 0; -#X connect 3 0 2 0; -#X connect 4 0 3 0; -#X connect 5 0 3 0; -#X connect 7 0 9 0; -#X connect 7 1 12 0; -#X connect 9 0 10 0; -#X connect 10 0 2 0; -#X connect 10 0 11 0; -#X connect 11 0 8 0; -#X connect 12 0 5 0; -#X coords 0 -1 1 1 145 17 1 250 100; -#X restore 397 357 pd firmware; -#X msg 121 192 devices; -#X msg 121 172 firmware; -#N canvas 958 501 450 300 STRING 0; -#X obj 48 13 inlet; -#X obj 51 93 moocow/string2any 32 -1; -#X obj 51 154 print STRING; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X restore 396 409 pd STRING; -#N canvas 821 354 593 390 strings 0; -#X obj -178 287 outlet; -#X obj -142 101 moocow/any2string; -#X symbolatom -92 48 10 0 0 0 - - -; -#X obj -92 68 list trim; -#X msg -175 39 test; -#X msg -139 40 TEST; -#X obj -142 130 cyclone/prepend string; -#X obj -313 102 moocow/any2string; -#X symbolatom -263 49 10 0 0 0 - - -; -#X obj -263 69 list trim; -#X msg -346 40 test; -#X msg -310 41 TEST; -#X obj -313 153 cyclone/prepend sysex; -#X obj -313 131 cyclone/prepend 40; -#X msg 66 117 samplingInterval \$1; -#X obj 69 93 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 0 1; -#X floatatom 27 117 5 0 0 0 - - -; -#X obj -314 202 pddp/print; -#X obj -119 179 pddp/print; -#X connect 1 0 6 0; -#X connect 2 0 3 0; -#X connect 3 0 1 0; -#X connect 4 0 1 0; -#X connect 5 0 1 0; -#X connect 6 0 0 0; -#X connect 6 0 18 0; -#X connect 7 0 13 0; -#X connect 8 0 9 0; -#X connect 9 0 7 0; -#X connect 10 0 7 0; -#X connect 11 0 7 0; -#X connect 12 0 0 0; -#X connect 12 0 17 0; -#X connect 13 0 12 0; -#X connect 14 0 0 0; -#X connect 15 0 14 0; -#X connect 15 0 16 0; -#X restore 183 245 pd strings and special messages; -#X text 397 503 released under the GNU GPL v2 or later; -#N canvas 626 98 404 287 device 0; -#X obj 35 60 inlet; -#X obj 35 118 route open port ports; -#X obj 35 169 tgl 15 0 empty empty open -3 20 0 10 -262144 -1 -1 0 -1; -#X floatatom 76 170 5 0 0 3 port - -; -#X obj 117 170 print comport_ports; -#X obj 252 170 outlet; -#X obj 235 97 bang; -#X obj 235 74 receive WIRING_TEST_RESET; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X connect 1 1 3 0; -#X connect 1 2 4 0; -#X connect 1 3 5 0; -#X connect 6 0 5 0; -#X connect 7 0 6 0; -#X restore 397 315 pd device info; -#N canvas 955 160 450 300 sysex 0; -#X obj 139 19 inlet; -#X obj 127 109 moocow/string2any 32 -1; -#X obj 127 170 print STRING; -#X obj 98 55 list split 1; -#X obj 40 109 print COMMAND; -#X obj 210 54 print sysex; -#X connect 0 0 3 0; -#X connect 0 0 5 0; -#X connect 1 0 2 0; -#X connect 3 0 4 0; -#X connect 3 1 1 0; -#X restore 461 409 pd sysex; -#X text 489 315 <- open to see info; -#N canvas 591 306 686 475 pinMode 0; -#X obj 94 267 outlet; -#X obj 121 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -2 2 -8 0 10 -261682 -1 -1 0; -#X obj 131 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -3 2 -8 0 10 -261682 -1 -1 0; -#X obj 141 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -4 2 -8 0 10 -261682 -1 -1 0; -#X obj 151 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -5 2 -8 0 10 -261682 -1 -1 0; -#X obj 161 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -6 2 -8 0 10 -261682 -1 -1 0; -#X obj 171 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -7 2 -8 0 10 -261682 -1 -1 0; -#X obj 181 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -8 2 -8 0 10 -261682 -1 -1 0; -#X obj 191 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -9 2 -8 0 10 -261682 -1 -1 0; -#X obj 201 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -10 0 -8 0 8 -261682 -1 -1 0; -#X obj 211 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -11 0 -8 0 8 -261682 -1 -1 0; -#X obj 221 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -12 0 -8 0 8 -261682 -1 -1 0; -#X obj 231 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -13 0 -8 0 8 -261682 -1 -1 0; -#X obj 241 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -14 0 -8 0 8 -261682 -1 -1 0; -#X obj 251 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -15 0 -8 0 8 -261682 -1 -1 0; -#X obj 261 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -16 0 -8 0 8 -261682 -1 -1 0; -#X obj 271 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -17 0 -8 0 8 -261682 -1 -1 0; -#X obj 281 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -18 0 -8 0 8 -261682 -1 -1 0; -#X obj 291 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -19 0 -8 0 8 -261682 -1 -1 0; -#X obj 301 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -20 0 -8 0 8 -261682 -1 -1 0; -#X obj 311 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -21 0 -8 0 8 -261682 -1 -1 0; -#X obj 321 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -22 0 -8 0 8 -261682 -1 -1 0; -#X obj 331 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -23 0 -8 0 8 -261682 -1 -1 0; -#X obj 422 100 cnv 10 10 60 empty empty Rx 0 23 0 8 -191407 -86277 -0; -#X obj 432 100 cnv 10 10 60 empty empty Tx 0 23 0 8 -191407 -13381 -0; -#X obj 341 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -24 0 -8 0 8 -261682 -1 -1 0; -#X obj 351 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -25 0 -8 0 8 -261682 -1 -1 0; -#X obj 361 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -26 0 -8 0 8 -261682 -1 -1 0; -#X obj 371 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -27 0 -8 0 8 -261682 -1 -1 0; -#X obj 381 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -28 0 -8 0 8 -261682 -1 -1 0; -#X obj 391 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -29 0 -8 0 8 -261682 -1 -1 0; -#X obj 401 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -30 0 -8 0 8 -261682 -1 -1 0; -#X obj 411 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -31 0 -8 0 8 -261682 -1 -1 0; -#X obj 442 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -34 0 -8 0 8 -261682 -1 -1 0; -#X obj 452 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -35 0 -8 0 8 -261682 -1 -1 0; -#X obj 462 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -36 0 -8 0 8 -261682 -1 -1 0; -#X obj 472 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -37 0 -8 0 8 -261682 -1 -1 0; -#X obj 482 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -38 0 -8 0 8 -261682 -1 -1 0; -#X obj 492 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -39 0 -8 0 8 -261682 -1 -1 0; -#X obj 502 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -40 0 -8 0 8 -261682 -1 -1 0; -#X obj 512 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -41 0 -8 0 8 -261682 -1 -1 0; -#X obj 522 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -42 0 -8 0 8 -261682 -1 -1 0; -#X obj 532 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -43 0 -8 0 8 -261682 -1 -1 0; -#X obj 542 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -44 0 -8 0 8 -261682 -1 -1 0; -#X obj 552 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -45 0 -8 0 8 -261682 -1 -1 0; -#X obj 562 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -46 0 -8 0 8 -261682 -1 -1 0; -#X obj 572 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -47 0 -8 0 8 -261682 -1 -1 0; -#X obj 582 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -48 0 -8 0 8 -261682 -1 -1 0; -#X obj 592 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -49 0 -8 0 8 -261682 -1 -1 0; -#X obj 602 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -50 0 -8 0 8 -261682 -1 -1 0; -#X obj 612 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -51 0 -8 0 8 -261682 -1 -1 0; -#X obj 622 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -52 0 -8 0 8 -261682 -1 -1 0; -#X obj 632 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -53 0 -8 0 8 -261682 -1 -1 0; -#X obj 111 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -1 0 -8 0 8 -261682 -1 -1 0; -#X obj 101 100 vradio 10 1 0 6 THIS_HIDES_THE_OUTLET WIRING_TEST_RESET -0 0 -8 0 8 -261682 -1 -1 0; -#N canvas 0 89 1440 589 send-to-wiring----------------------------------- -0; -#X obj 49 14 inlet; -#X obj 89 14 inlet; -#X obj 128 14 inlet; -#X obj 168 14 inlet; -#X obj 208 14 inlet; -#X obj 248 14 inlet; -#X obj 287 14 inlet; -#X obj 327 14 inlet; -#X obj 368 13 inlet; -#X obj 408 13 inlet; -#X obj 447 13 inlet; -#X obj 487 13 inlet; -#X obj 527 13 inlet; -#X msg 49 56 pinMode 0 \$1; -#X msg 89 78 pinMode 1 \$1; -#X msg 128 100 pinMode 2 \$1; -#X msg 168 120 pinMode 3 \$1; -#X msg 208 52 pinMode 4 \$1; -#X msg 248 74 pinMode 5 \$1; -#X msg 287 96 pinMode 6 \$1; -#X msg 327 116 pinMode 7 \$1; -#X msg 368 48 pinMode 8 \$1; -#X msg 408 70 pinMode 9 \$1; -#X msg 447 92 pinMode 10 \$1; -#X msg 487 112 pinMode 11 \$1; -#X msg 527 40 pinMode 12 \$1; -#X obj 566 13 inlet; -#X msg 566 60 pinMode 13 \$1; -#X obj 607 13 inlet; -#X obj 647 13 inlet; -#X obj 687 13 inlet; -#X obj 726 13 inlet; -#X obj 767 13 inlet; -#X obj 807 13 inlet; -#X obj 847 13 inlet; -#X obj 886 13 inlet; -#X msg 607 92 pinMode 14 \$1; -#X msg 647 112 pinMode 15 \$1; -#X msg 687 40 pinMode 16 \$1; -#X msg 726 60 pinMode 17 \$1; -#X msg 767 92 pinMode 18 \$1; -#X msg 807 112 pinMode 19 \$1; -#X msg 847 40 pinMode 20 \$1; -#X msg 886 60 pinMode 21 \$1; -#X obj 927 13 inlet; -#X msg 927 92 pinMode 22 \$1; -#X msg 967 112 pinMode 23 \$1; -#X obj 1410 475 outlet; -#X obj 1370 451 trigger bang anything; -#X obj 1370 406 list prepend set; -#X obj 1370 428 list trim; -#X obj 1370 247 list; -#X obj 1370 269 unpack symbol float float; -#X obj 1370 379 pack symbol float symbol; -#X obj 1511 359 symbol; -#X msg 1548 332 analog; -#X msg 1596 332 pwm; -#X msg 1626 332 servo; -#X obj 1628 412 list trim; -#X obj 1628 389 list prepend WARNING Unsupported pin mode:; -#X msg 1457 332 input; -#X msg 1498 332 output; -#X obj 1517 288 - 1; -#X obj 1517 307 select 0 1 2 3 4 -1; -#X text 1646 306 (-1 == NONE); -#X obj 1628 434 print [wiring]; -#X obj 967 13 inlet; -#X obj 1006 13 inlet; -#X obj 1045 13 inlet; -#X obj 1084 13 inlet; -#X obj 1122 13 inlet; -#X obj 1160 13 inlet; -#X obj 1198 13 inlet; -#X obj 1236 13 inlet; -#X obj 1274 13 inlet; -#X obj 1312 13 inlet; -#X obj 1351 13 inlet; -#X obj 1390 13 inlet; -#X obj 1429 13 inlet; -#X obj 1468 12 inlet; -#X obj 1506 12 inlet; -#X obj 1544 12 inlet; -#X obj 1582 12 inlet; -#X obj 1620 12 inlet; -#X obj 1658 12 inlet; -#X obj 1697 12 inlet; -#X msg 1006 38 pinMode 24 \$1; -#X msg 1045 58 pinMode 25 \$1; -#X msg 1084 90 pinMode 26 \$1; -#X msg 1122 112 pinMode 27 \$1; -#X msg 1160 37 pinMode 28 \$1; -#X msg 1198 57 pinMode 29 \$1; -#X msg 1236 88 pinMode 30 \$1; -#X msg 1274 112 pinMode 31 \$1; -#X msg 1312 36 pinMode 32 \$1; -#X msg 1351 57 pinMode 33 \$1; -#X msg 1390 85 pinMode 34 \$1; -#X msg 1429 112 pinMode 35 \$1; -#X msg 1468 35 pinMode 36 \$1; -#X msg 1506 56 pinMode 36 \$1; -#X msg 1544 83 pinMode 38 \$1; -#X msg 1582 111 pinMode 39 \$1; -#X msg 1620 34 pinMode 40 \$1; -#X msg 1658 54 pinMode 41 \$1; -#X msg 1697 83 pinMode 42 \$1; -#X obj 2106 11 inlet; -#X obj 2069 11 inlet; -#X obj 2032 11 inlet; -#X obj 1995 11 inlet; -#X obj 1958 11 inlet; -#X obj 1921 11 inlet; -#X obj 1884 11 inlet; -#X obj 1847 11 inlet; -#X obj 1810 11 inlet; -#X obj 1772 11 inlet; -#X obj 1735 11 inlet; -#X msg 1735 109 pinMode 43 \$1; -#X msg 1772 32 pinMode 44 \$1; -#X msg 1809 54 pinMode 45 \$1; -#X msg 1846 80 pinMode 46 \$1; -#X msg 1884 110 pinMode 47 \$1; -#X msg 1921 32 pinMode 48 \$1; -#X msg 1958 54 pinMode 49 \$1; -#X msg 1995 79 pinMode 50 \$1; -#X msg 2032 110 pinMode 51 \$1; -#X msg 2069 31 pinMode 52 \$1; -#X msg 2106 53 pinMode 53 \$1; -#X connect 0 0 13 0; -#X connect 1 0 14 0; -#X connect 2 0 15 0; -#X connect 3 0 16 0; -#X connect 4 0 17 0; -#X connect 5 0 18 0; -#X connect 6 0 19 0; -#X connect 7 0 20 0; -#X connect 8 0 21 0; -#X connect 9 0 22 0; -#X connect 10 0 23 0; -#X connect 11 0 24 0; -#X connect 12 0 25 0; -#X connect 13 0 51 0; -#X connect 14 0 51 0; -#X connect 15 0 51 0; -#X connect 16 0 51 0; -#X connect 17 0 51 0; -#X connect 18 0 51 0; -#X connect 19 0 51 0; -#X connect 20 0 51 0; -#X connect 21 0 51 0; -#X connect 22 0 51 0; -#X connect 23 0 51 0; -#X connect 24 0 51 0; -#X connect 25 0 51 0; -#X connect 26 0 27 0; -#X connect 27 0 51 0; -#X connect 28 0 36 0; -#X connect 29 0 37 0; -#X connect 30 0 38 0; -#X connect 31 0 39 0; -#X connect 32 0 40 0; -#X connect 33 0 41 0; -#X connect 34 0 42 0; -#X connect 35 0 43 0; -#X connect 36 0 51 0; -#X connect 37 0 51 0; -#X connect 38 0 51 0; -#X connect 39 0 51 0; -#X connect 40 0 51 0; -#X connect 41 0 51 0; -#X connect 42 0 51 0; -#X connect 43 0 51 0; -#X connect 44 0 45 0; -#X connect 45 0 51 0; -#X connect 46 0 51 0; -#X connect 48 0 47 0; -#X connect 48 1 47 0; -#X connect 49 0 50 0; -#X connect 50 0 48 0; -#X connect 51 0 52 0; -#X connect 52 0 53 0; -#X connect 52 1 53 1; -#X connect 52 2 62 0; -#X connect 53 0 49 0; -#X connect 54 0 53 2; -#X connect 55 0 54 0; -#X connect 56 0 54 0; -#X connect 57 0 54 0; -#X connect 58 0 65 0; -#X connect 59 0 58 0; -#X connect 60 0 54 0; -#X connect 61 0 54 0; -#X connect 62 0 63 0; -#X connect 63 0 60 0; -#X connect 63 1 61 0; -#X connect 63 2 55 0; -#X connect 63 3 56 0; -#X connect 63 4 57 0; -#X connect 63 6 59 0; -#X connect 66 0 46 0; -#X connect 67 0 86 0; -#X connect 68 0 87 0; -#X connect 69 0 88 0; -#X connect 70 0 89 0; -#X connect 71 0 90 0; -#X connect 72 0 91 0; -#X connect 73 0 92 0; -#X connect 74 0 93 0; -#X connect 75 0 94 0; -#X connect 76 0 95 0; -#X connect 77 0 96 0; -#X connect 78 0 97 0; -#X connect 79 0 98 0; -#X connect 80 0 99 0; -#X connect 81 0 100 0; -#X connect 82 0 101 0; -#X connect 83 0 102 0; -#X connect 84 0 103 0; -#X connect 85 0 104 0; -#X connect 86 0 51 0; -#X connect 87 0 51 0; -#X connect 88 0 51 0; -#X connect 89 0 51 0; -#X connect 90 0 51 0; -#X connect 91 0 51 0; -#X connect 92 0 51 0; -#X connect 93 0 51 0; -#X connect 94 0 51 0; -#X connect 95 0 51 0; -#X connect 96 0 51 0; -#X connect 97 0 51 0; -#X connect 98 0 51 0; -#X connect 99 0 51 0; -#X connect 100 0 51 0; -#X connect 101 0 51 0; -#X connect 102 0 51 0; -#X connect 103 0 51 0; -#X connect 104 0 51 0; -#X connect 105 0 126 0; -#X connect 106 0 125 0; -#X connect 107 0 124 0; -#X connect 108 0 123 0; -#X connect 109 0 122 0; -#X connect 110 0 121 0; -#X connect 111 0 120 0; -#X connect 112 0 119 0; -#X connect 113 0 118 0; -#X connect 114 0 117 0; -#X connect 115 0 116 0; -#X connect 116 0 51 0; -#X connect 117 0 51 0; -#X connect 118 0 51 0; -#X connect 119 0 51 0; -#X connect 120 0 51 0; -#X connect 121 0 51 0; -#X connect 122 0 51 0; -#X connect 123 0 51 0; -#X connect 124 0 51 0; -#X connect 125 0 51 0; -#X connect 126 0 51 0; -#X restore 209 218 pd send-to-wiring----------------------------------- -; -#X connect 1 0 55 2; -#X connect 2 0 55 3; -#X connect 3 0 55 4; -#X connect 4 0 55 5; -#X connect 5 0 55 6; -#X connect 6 0 55 7; -#X connect 7 0 55 8; -#X connect 8 0 55 9; -#X connect 9 0 55 10; -#X connect 10 0 55 11; -#X connect 11 0 55 12; -#X connect 12 0 55 13; -#X connect 13 0 55 14; -#X connect 14 0 55 15; -#X connect 15 0 55 16; -#X connect 16 0 55 17; -#X connect 17 0 55 18; -#X connect 18 0 55 19; -#X connect 19 0 55 20; -#X connect 20 0 55 21; -#X connect 21 0 55 22; -#X connect 22 0 55 23; -#X connect 25 0 55 24; -#X connect 26 0 55 25; -#X connect 27 0 55 26; -#X connect 28 0 55 27; -#X connect 29 0 55 28; -#X connect 30 0 55 29; -#X connect 31 0 55 30; -#X connect 32 0 55 31; -#X connect 33 0 55 34; -#X connect 34 0 55 35; -#X connect 35 0 55 36; -#X connect 36 0 55 37; -#X connect 37 0 55 38; -#X connect 38 0 55 39; -#X connect 39 0 55 40; -#X connect 40 0 55 41; -#X connect 41 0 55 42; -#X connect 42 0 55 43; -#X connect 43 0 55 44; -#X connect 44 0 55 45; -#X connect 45 0 55 46; -#X connect 46 0 55 47; -#X connect 47 0 55 48; -#X connect 48 0 55 49; -#X connect 49 0 55 50; -#X connect 50 0 55 51; -#X connect 51 0 55 52; -#X connect 52 0 55 53; -#X connect 53 0 55 1; -#X connect 54 0 55 0; -#X connect 55 0 0 0; -#X coords 0 -1 1 1 542 60 2 100 100; -#X restore 411 21 pd pinMode; -#X text 364 67 servo; -#X text 364 57 pwm; -#X text 364 29 input; -#X text 364 38 output; -#X text 364 48 analog; -#N canvas 72 104 423 503 analog 0; -#X obj 38 10 inlet; -#X obj 131 10 inlet; -#X obj 38 259 pack float float; -#X obj 192 113 route float symbol; -#X obj 188 259 pack float symbol; -#X text 78 11 pin#; -#X text 179 10 PWM value or "off"; -#X obj 39 217 cyclone/gate 2; -#X msg 191 153 1; -#X msg 252 153 2; -#X obj 131 34 list; -#X obj 131 113 float; -#X obj 131 67 trigger bang anything; -#X obj 37 427 outlet; -#X obj 37 356 trigger bang anything; -#X obj 179 376 list; -#X msg 179 396 set \$1 \$2 \$3; -#X msg 37 308 analog \$1 \$2; -#X connect 0 0 11 0; -#X connect 1 0 10 0; -#X connect 2 0 17 0; -#X connect 3 0 8 0; -#X connect 3 0 2 1; -#X connect 3 1 9 0; -#X connect 3 1 4 1; -#X connect 4 0 17 0; -#X connect 7 0 2 0; -#X connect 7 1 4 0; -#X connect 8 0 7 0; -#X connect 9 0 7 0; -#X connect 10 0 12 0; -#X connect 11 0 7 1; -#X connect 12 0 11 0; -#X connect 12 1 3 0; -#X connect 14 0 13 0; -#X connect 14 1 15 0; -#X connect 15 0 16 0; -#X connect 16 0 13 0; -#X connect 17 0 14 0; -#X restore 413 196 pd analog; -#X obj 394 475 tgl 15 0 empty WIRING_TEST_RESET 0 4 23 1 12 -232448 --1 -1 0 1; -#X obj 411 475 tgl 15 0 empty WIRING_TEST_RESET 1 4 23 1 12 -232448 --1 -1 0 1; -#N canvas 191 424 450 300 old 0; -#X msg 95 138 digitalIns 2 0; -#X msg 88 77 analogIns 0 1; -#N canvas 162 133 610 460 serin 0; -#X obj 59 337 outlet; -#X obj 59 266 trigger bang anything; -#X obj 201 286 list; -#X obj 60 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 0 5 9 1 -12 -262130 -1 -1 0 1; -#X obj 75 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 1 5 9 1 -12 -262130 -1 -1 0 1; -#X obj 90 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 2 5 9 1 -12 -262130 -1 -1 0 1; -#X obj 105 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 3 5 9 -1 12 -262130 -1 -1 0 1; -#X obj 120 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 4 5 9 -1 12 -262130 -1 -1 0 1; -#X obj 135 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 5 5 9 -1 12 -262130 -1 -1 0 1; -#X obj 150 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 6 5 9 -1 12 -262130 -1 -1 0 1; -#X obj 165 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 7 5 9 -1 12 -262130 -1 -1 0 1; -#X msg 59 210 analogIns \$1 \$2; -#X msg 35 106 0 \$1; -#X msg 70 106 1 \$1; -#X msg 105 106 2 \$1; -#X msg 140 106 3 \$1; -#X msg 175 106 4 \$1; -#X msg 210 106 5 \$1; -#X msg 245 106 6 \$1; -#X msg 280 106 7 \$1; -#X msg 202 307 set \$1 \$2 \$3; -#X connect 1 0 0 0; -#X connect 1 1 2 0; -#X connect 2 0 20 0; -#X connect 3 0 12 0; -#X connect 4 0 13 0; -#X connect 5 0 14 0; -#X connect 6 0 15 0; -#X connect 7 0 16 0; -#X connect 8 0 17 0; -#X connect 9 0 18 0; -#X connect 10 0 19 0; -#X connect 11 0 1 0; -#X connect 12 0 11 0; -#X connect 13 0 11 0; -#X connect 14 0 11 0; -#X connect 15 0 11 0; -#X connect 16 0 11 0; -#X connect 17 0 11 0; -#X connect 18 0 11 0; -#X connect 19 0 11 0; -#X connect 20 0 0 0; -#X coords 0 -1 1 1 120 16 1 60 60; -#X restore 88 55 pd serin; -#X text 87 38 which analogIns to enable:; -#X text 94 101 which digital ports to enable:; -#N canvas 162 133 610 460 seri 0; -#X obj 59 337 outlet; -#X obj 59 266 trigger bang anything; -#X obj 201 286 list; -#X obj 60 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 0 5 9 1 -12 -260736 -1 -1 0 1; -#X obj 75 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 1 5 9 1 -12 -260736 -1 -1 0 1; -#X obj 90 61 tgl 15 0 junk_to_hide_inlet ARDUINO_TEST_RESET 2 5 9 1 -12 -260736 -1 -1 0 1; -#X msg 35 106 0 \$1; -#X msg 70 106 1 \$1; -#X msg 105 106 2 \$1; -#X msg 202 307 set \$1 \$2 \$3; -#X msg 59 210 digitalIns \$1 \$2; -#X connect 1 0 0 0; -#X connect 1 1 2 0; -#X connect 2 0 9 0; -#X connect 3 0 6 0; -#X connect 4 0 7 0; -#X connect 5 0 8 0; -#X connect 6 0 10 0; -#X connect 7 0 10 0; -#X connect 8 0 10 0; -#X connect 9 0 0 0; -#X connect 10 0 1 0; -#X coords 0 -1 1 1 45 16 1 60 60; -#X restore 95 118 pd seri; -#X obj 42 179 outlet; -#X connect 0 0 6 0; -#X connect 1 0 6 0; -#X connect 2 0 1 0; -#X connect 5 0 0 0; -#X restore 183 222 pd old analog/digital controls; -#X text 185 150 <-- get protocol version; -#X text 185 170 <-- get firmware name and version; -#X text 185 131 <-- get connection info; -#X text 181 291 <-- argument sets port #; -#X text 89 31 configure mode for each pin:; -#X text 185 190 <-- list available serial devices; -#X text 429 248 <-- pulse all outputs; -#X text 203 477 digital inputs show up here -->; -#X text 9 389 analog inputs:; -#X text 364 18 NONE; -#X obj 121 324 route analog digital string sysex; -#X msg 28 92 open 3; -#X text 418 155 switch pin to 'pwm' or 'servo' first; -#X msg 413 218; -#X msg 411 94 pinMode 0 input; -#X obj 408 433 route 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 -19 20 21 22 23; -#X obj 632 475 tgl 15 0 empty WIRING_TEST_RESET 14 0 23 1 12 -232448 --1 -1 0 1; -#X obj 649 475 tgl 15 0 empty WIRING_TEST_RESET 15 0 23 1 12 -232448 --1 -1 0 1; -#X obj 666 475 tgl 15 0 empty WIRING_TEST_RESET 16 0 23 1 12 -232448 --1 -1 0 1; -#X obj 683 475 tgl 15 0 empty WIRING_TEST_RESET 17 0 23 1 12 -232448 --1 -1 0 1; -#X obj 700 475 tgl 15 0 empty WIRING_TEST_RESET 18 0 23 1 12 -232448 --1 -1 0 1; -#X obj 717 475 tgl 15 0 empty WIRING_TEST_RESET 19 0 23 1 12 -232448 --1 -1 0 1; -#X obj 734 475 tgl 15 0 empty WIRING_TEST_RESET 20 0 23 1 12 -232448 --1 -1 0 1; -#X obj 751 475 tgl 15 0 empty WIRING_TEST_RESET 21 0 23 1 12 -232448 --1 -1 0 1; -#X obj 768 475 tgl 15 0 empty WIRING_TEST_RESET 22 0 23 1 12 -232448 --1 -1 0 1; -#X obj 785 475 tgl 15 0 empty WIRING_TEST_RESET 23 0 23 1 12 -232448 --1 -1 0 1; -#X obj 121 292 arduino 3; -#X text 11 -14 The is a test patch for the Wiring board when used with -the Firmata library.; -#X text 521 123 7; -#X text 415 123 0; -#X text 562 123 10; -#X text 473 123 4; -#X text 444 123 2; -#X text 489 123 5; -#X text 504 123 6; -#X text 459 123 3; -#X text 535 123 8; -#X text 552 123 9; -#X text 578 123 11; -#X text 593 123 12; -#X text 430 123 1; -#X text 608 123 13; -#X text 623 123 14; -#X text 638 123 15; -#X text 653 123 16; -#X text 667 123 17; -#X text 682 123 18; -#X text 698 123 19; -#X text 713 123 20; -#X text 728 123 21; -#X text 742 123 22; -#X text 757 123 23; -#X text 772 123 24; -#X text 787 123 25; -#X text 802 123 26; -#X text 816 123 27; -#X text 831 123 28; -#X text 848 123 29; -#X text 863 123 30; -#X text 878 123 31; -#X text 892 123 32; -#X text 907 123 33; -#X text 922 123 34; -#X text 937 123 35; -#X text 952 123 36; -#X text 966 123 37; -#X text 981 123 38; -#X text 998 123 39; -#X text 1013 123 40; -#X text 1028 123 41; -#X text 1042 123 42; -#X text 1057 123 43; -#X text 1073 123 44; -#X text 1088 123 45; -#X text 1103 123 46; -#X text 1117 123 47; -#X text 1132 123 48; -#X text 1148 123 49; -#X text 1163 123 50; -#X text 1178 123 51; -#X text 1192 123 52; -#X text 1207 123 53; -#X connect 3 0 66 0; -#X connect 3 1 5 0; -#X connect 5 0 81 0; -#X connect 6 0 51 1; -#X connect 13 0 51 0; -#X connect 14 0 81 0; -#X connect 15 0 81 0; -#X connect 16 0 81 0; -#X connect 17 0 16 0; -#X connect 20 0 21 0; -#X connect 20 1 21 1; -#X connect 20 2 21 2; -#X connect 20 3 21 3; -#X connect 20 4 21 4; -#X connect 20 5 21 5; -#X connect 20 6 21 6; -#X connect 20 7 21 7; -#X connect 21 0 7 0; -#X connect 21 1 8 0; -#X connect 21 2 9 0; -#X connect 21 3 10 0; -#X connect 21 4 11 0; -#X connect 21 5 12 0; -#X connect 21 6 18 0; -#X connect 21 7 19 0; -#X connect 35 0 36 0; -#X connect 37 0 81 0; -#X connect 38 0 81 0; -#X connect 40 0 81 0; -#X connect 42 0 35 0; -#X connect 45 0 69 0; -#X connect 51 0 68 0; -#X connect 54 0 81 0; -#X connect 65 0 20 0; -#X connect 65 1 70 0; -#X connect 65 2 39 0; -#X connect 65 3 43 0; -#X connect 66 0 81 0; -#X connect 68 0 81 0; -#X connect 69 0 81 0; -#X connect 70 0 52 0; -#X connect 70 1 53 0; -#X connect 70 2 22 0; -#X connect 70 3 23 0; -#X connect 70 4 24 0; -#X connect 70 5 25 0; -#X connect 70 6 26 0; -#X connect 70 7 27 0; -#X connect 70 8 28 0; -#X connect 70 9 29 0; -#X connect 70 10 30 0; -#X connect 70 11 31 0; -#X connect 70 12 32 0; -#X connect 70 13 33 0; -#X connect 70 14 71 0; -#X connect 70 15 72 0; -#X connect 70 16 73 0; -#X connect 70 17 74 0; -#X connect 70 18 75 0; -#X connect 70 19 76 0; -#X connect 70 20 77 0; -#X connect 70 21 78 0; -#X connect 70 22 79 0; -#X connect 70 23 80 0; -#X connect 81 0 65 0; -#X connect 81 1 42 0; |