{"id":999,"date":"2017-04-23T20:09:52","date_gmt":"2017-04-23T19:09:52","guid":{"rendered":"http:\/\/axotron.se\/blog\/?p=999"},"modified":"2017-04-23T20:09:52","modified_gmt":"2017-04-23T19:09:52","slug":"adding-arduino-libraries-manually","status":"publish","type":"post","link":"https:\/\/axotron.se\/blog\/adding-arduino-libraries-manually\/","title":{"rendered":"Adding Arduino libraries manually"},"content":{"rendered":"<p>I am writing some code for a Teensy (which is a much higher performance alternative to e.g. an Arduino Nano) and found a non-standard library that I would like to use. This post is primarily a short reminder to myself\u00a0 on how to install an Arduino library manually. There are <a href=\"https:\/\/www.arduino.cc\/en\/guide\/libraries\">lengthier and more complete instructions here<\/a>.<\/p>\n<p>Basically, just put the library code in a suitably (but quite arbitrarily) named folder under Documents\\Arduino\\libraries, which in my case is C:\\Users\\Per\\Documents\\Arduino\\libraries.<\/p>\n<p>The folder name should probably not have spaces, but otherwise the name does not seem to matter. The Arduino\/Teensyduino environment searches these catalogs for files included with #include &lt;MyLibrary.h&gt;\u00a0 syntax (less-than, greater-than rather than citation marks around the file name) and automagically compiles other files in the same directory as necessary.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am writing some code for a Teensy (which is a much higher performance alternative to e.g. an Arduino Nano) and found a non-standard library that I would like to use. This post is primarily a short reminder to myself\u00a0 on how to install an Arduino library manually. There are lengthier and more complete instructions &hellip; <a href=\"https:\/\/axotron.se\/blog\/adding-arduino-libraries-manually\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Adding Arduino libraries manually<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-999","post","type-post","status-publish","format-standard","hentry","category-arduino"],"_links":{"self":[{"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/posts\/999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/comments?post=999"}],"version-history":[{"count":1,"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/posts\/999\/revisions"}],"predecessor-version":[{"id":1000,"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/posts\/999\/revisions\/1000"}],"wp:attachment":[{"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/media?parent=999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/categories?post=999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/axotron.se\/blog\/wp-json\/wp\/v2\/tags?post=999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}