{"id":16,"date":"2013-10-24T14:23:10","date_gmt":"2013-10-24T14:23:10","guid":{"rendered":"https:\/\/arduino-developer.com\/arduino\/?p=16"},"modified":"2023-05-12T12:25:26","modified_gmt":"2023-05-12T11:25:26","slug":"creating-a-new-project","status":"publish","type":"post","link":"https:\/\/arduino-developer.com\/arduino\/ide\/arduino-ide\/creating-a-new-project","title":{"rendered":".Creating A New Project"},"content":{"rendered":"<h4>Terminology<\/h4>\n<p>Sketch<\/p>\n<p style=\"margin-left: 40px;\">A &#8216;sketch&#8217; is a program in Arduino terminology.<\/p>\n<h4>Creating The Project<\/h4>\n<p>Open the &#8216;Arduino&#8217; software.<\/p>\n<p>Create A New Sketch<\/p>\n<p style=\"margin-left: 40px;\">Menu &gt; File &gt; New Sketch<\/p>\n<p>Menu &gt; Tools &gt; Board<\/p>\n<p style=\"margin-left: 40px;\">Select the board you are using<\/p>\n<p>Menu &gt; Tools &gt; Serial Port<\/p>\n<p style=\"margin-left: 40px;\">Ensure the Arduino is connected to your computer and then select the virtual serial port your\u00a0Arduino board has been connected to<\/p>\n<h4>A\u00a0Basic Sketch<\/h4>\n<pre><code>\n\/\/*****************************\n\/\/*****************************\n\/\/********** DEFINES **********\n\/\/*****************************\n\/\/*****************************\n#define LED   13\n\n\n\/\/***************************\n\/\/***************************\n\/\/********** SETUP **********\n\/\/***************************\n\/\/***************************\nvoid setup()\n{                \n\n  \/\/------------------------------\n  \/\/----- SETUP THE IO PORTS -----\n  \/\/------------------------------\n  pinMode(LED, OUTPUT);     \n\n\n\n}\n\n\n\/\/**********************************************************************************************************************************************\n\/\/**********************************************************************************************************************************************\n\/\/**********************************************************************************************************************************************\n\/\/**********************************************************************************************************************************************\n\/\/**********************************************************************************************************************************************\n\/\/**********************************************************************************************************************************************\n\/\/**********************************************************************************************************************************************\n\n\/\/***********************************\n\/\/***********************************\n\/\/********** MAIN FUNCTION **********\n\/\/***********************************\n\/\/***********************************\nvoid loop()\n{\n  digitalWrite(LED, HIGH);\n  delay(500);\n  digitalWrite(LED, LOW);\n  delay(500);\n}\n\n\n<\/code><\/pre>\n<h4>Running<\/h4>\n<p>To verify \/ compile the sketch press the Verify button.<\/p>\n<p>To run the sketch press the &#8216;Upload&#8217; button.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Terminology Sketch A &#8216;sketch&#8217; is a program in Arduino terminology. Creating The Project Open the &#8216;Arduino&#8217; software. Create A New Sketch Menu &gt; File &gt; New Sketch Menu &gt; Tools &gt; Board Select the board you are using Menu &gt; Tools &gt; Serial Port Ensure the Arduino is connected to your computer and then select [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-16","post","type-post","status-publish","format-standard","hentry","category-arduino-ide"],"_links":{"self":[{"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":5,"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":685,"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/posts\/16\/revisions\/685"}],"wp:attachment":[{"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arduino-developer.com\/arduino\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}