{"id":740,"date":"2019-03-15T09:30:26","date_gmt":"2019-03-15T08:30:26","guid":{"rendered":"https:\/\/sharedinventions.com\/?p=740"},"modified":"2020-01-23T00:23:16","modified_gmt":"2020-01-22T23:23:16","slug":"arduino-day-2019","status":"publish","type":"post","link":"https:\/\/sharedinventions.com\/?p=740","title":{"rendered":"Arduino Day 2019"},"content":{"rendered":"\n<p>Presentation in Hungarian:<\/p>\n\n\n\n<p style=\"text-align:center\"><a href=\"https:\/\/docs.google.com\/presentation\/d\/15xDO8tv0h7IN41ND0E-__Bh0Wgd0PeMrGENGW3HQTHE\/edit\">Arduino f\u00fcggv\u00e9nyk\u00f6nyvt\u00e1rak, Aszinkron programoz\u00e1s<\/a><\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Example #1 &#8211; Object oriented programming, construction, scopes, class vs. instance:<\/p>\n\n\n\n<div class=\"wp-block-file aligncenter\"><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p01Constructor.ino\">p01Constructor<\/a><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p01Constructor.ino\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<p>Example #2 &#8211; Problem: Turn on the lamp with a click, turn off automatically within 3 secs.  Timing with delay:<\/p>\n\n\n\n<div class=\"wp-block-file aligncenter\"><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p02Delay.ino\">p02Delay<\/a><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p02Delay.ino\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<p>Example #3 &#8211; Solving the same problem with millis:<\/p>\n\n\n\n<div class=\"wp-block-file aligncenter\"><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p03Millis.ino\">p03Millis<\/a><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p03Millis.ino\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<p>Example #4 &#8211; Problem: Same as before, but you can turn off the lamp manually any times:<\/p>\n\n\n\n<div class=\"wp-block-file aligncenter\"><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p04MillisInteractive.ino\">p04MillisInteractive<\/a><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p04MillisInteractive.ino\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<p>Example #5 &#8211; Fix bouncing problem of the previous example:<\/p>\n\n\n\n<div class=\"wp-block-file aligncenter\"><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p05Debounce.ino\">p05Debounce<\/a><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p05Debounce.ino\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<p>Example #6 &#8211; Fix overflow problem:<\/p>\n\n\n\n<div class=\"wp-block-file aligncenter\"><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p06NoOverflow.ino\">p06NoOverflow<\/a><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p06NoOverflow.ino\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<p>Example #7 &#8211; Solving the problem with the SoftTimer library:<\/p>\n\n\n\n<div class=\"wp-block-file aligncenter\"><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p07SoftTimer.ino\">p07SoftTimer<\/a><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p07SoftTimer.ino\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<p>Example #8 &#8211; Demonstration (INO file only):<\/p>\n\n\n\n<div class=\"wp-block-file aligncenter\"><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p08SMB.ino\">p08SMB<\/a><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/p08SMB.ino\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<p>Download all the example files with the proper subfolders:<\/p>\n\n\n\n<div class=\"wp-block-file aligncenter\"><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/ArduinNap2019.zip\">ArduinNap2019<\/a><a href=\"https:\/\/sharedinventions.com\/wp-content\/uploads\/2019\/03\/ArduinNap2019.zip\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Presentation in Hungarian: Arduino f\u00fcggv\u00e9nyk\u00f6nyvt\u00e1rak, Aszinkron programoz\u00e1s<\/p>\n","protected":false},"author":1,"featured_media":763,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-740","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino"],"_links":{"self":[{"href":"https:\/\/sharedinventions.com\/index.php?rest_route=\/wp\/v2\/posts\/740","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sharedinventions.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sharedinventions.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sharedinventions.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sharedinventions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=740"}],"version-history":[{"count":6,"href":"https:\/\/sharedinventions.com\/index.php?rest_route=\/wp\/v2\/posts\/740\/revisions"}],"predecessor-version":[{"id":849,"href":"https:\/\/sharedinventions.com\/index.php?rest_route=\/wp\/v2\/posts\/740\/revisions\/849"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sharedinventions.com\/index.php?rest_route=\/wp\/v2\/media\/763"}],"wp:attachment":[{"href":"https:\/\/sharedinventions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sharedinventions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=740"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sharedinventions.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}