{"id":274120,"date":"2016-02-12T00:44:12","date_gmt":"2016-02-11T21:44:12","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=274120"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=274120","title":{"rendered":"Eclipse #include &lt;Arduino.h&gt;"},"content":{"rendered":"<p>       \u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442!<br \/>  \u041d\u0435\u0434\u0430\u0432\u043d\u043e \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u043d\u0430 GT \u043f\u0430\u0440\u0430 \u0441\u0442\u0430\u0442\u0435\u0439 <a href=\"https:\/\/geektimes.ru\/post\/255760\/\">\u043f\u0440\u043e\u0442\u0438\u0432<\/a> \u0438 <a href=\"https:\/\/geektimes.ru\/post\/269830\/\">\u0437\u0430<\/a> \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f Arduino \u0434\u043b\u044f \u0447\u0435\u0433\u043e-\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0438\u0431\u044b\u043b\u044c\u043d\u043e\u0433\u043e, \u0447\u0435\u043c \u043c\u0438\u0433\u0430\u043d\u0438\u0435 \u043b\u0430\u043c\u043f\u043e\u0447\u043a\u0430\u043c\u0438 \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0445 \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0439. \u041e\u0431\u044b\u0447\u043d\u044b\u0439 \u0442\u0430\u043a\u043e\u0439 \u0434\u0438\u0441\u043a\u0443\u0440\u0441 \u0438\u0437 \u043c\u0438\u0440\u0430 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439, \u043a\u043e\u0433\u0434\u0430 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u0432\u0441\u0435 \u0431\u043e\u043b\u0435\u0435 \u0438 \u0431\u043e\u043b\u0435\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0448\u0438\u0440\u043e\u043a\u0438\u043c \u0441\u043b\u043e\u044f\u043c \u043d\u0430\u0441\u0435\u043b\u0435\u043d\u0438\u044f, \u043f\u043b\u0430\u0432\u0430\u043b\u0438, \u0437\u043d\u0430\u0435\u043c.<br \/>  \u0418\u043c\u0435\u044f \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0412\u0423\u0417\u043e\u0432\u0441\u043a\u0443\u044e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u0443\u044e \u0441 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432, \u044f \u043f\u043e\u043d\u0438\u043c\u0430\u044e \u0442\u0435\u0445 \u043a\u0442\u043e \u043f\u0440\u043e\u0442\u0438\u0432. \u0410 \u0438\u043c\u0435\u044f \u043c\u043d\u043e\u0433\u043e \u043b\u0435\u0442 \u043e\u043f\u044b\u0442\u0430 \u043a\u043e\u043c\u043c\u0435\u0440\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0432\u043e\u0438\u0445, \u043d\u043e \u0438 \u0432 \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0447\u0443\u0436\u0438\u0445 \u0437\u043d\u0430\u043d\u0438\u0439 \u0438 \u043d\u0430\u0432\u044b\u043a\u043e\u0432, \u044f \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u044e \u0442\u0435\u0445 \u043a\u0442\u043e \u0437\u0430.<br \/>  \u0412\u044b \u043f\u0440\u0430\u0432\u044b, \u0438 \u0432\u044b \u0442\u043e\u0436\u0435 \u043f\u0440\u0430\u0432\u044b, \u0430 \u0438\u0441\u0442\u0438\u043d\u0430, \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430 \u0433\u0434\u0435-\u0442\u043e <s>\u0440\u044f\u0434\u043e\u043c<\/s> \u043f\u043e\u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u044c \u043e \u0447\u0435\u043c \u0441\u043f\u043e\u0440. Arduino \u044d\u0442\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u0443\u043f\u0430\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u0442\u0430\u043b\u044c\u044f\u043d\u0446\u0430\u043c\u0438 \u0432 \u043f\u0435\u0447\u0430\u0442\u043d\u044b\u0435 \u043f\u043b\u0430\u0442\u044b \u0438 \u043a\u043e\u0440\u043e\u0431\u043e\u0447\u043a\u0438 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b, \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0440\u0435\u0434\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 Arduino IDE. \u041f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0438 \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u0438\u043c\u0435\u043d\u043d\u043e \u043e\u043d\u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u044c. \u0415\u0441\u043b\u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0445\u0435\u043c\u044b \u043f\u043b\u0430\u0442 Arduino, \u0442\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043e\u0441\u043e\u0431\u043e \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u043c\u044b \u043d\u0435 \u0443\u0432\u0438\u0434\u0438\u043c. \u0421\u0440\u0435\u0434\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438\u2026 \u0421\u043a\u0430\u0436\u0435\u043c \u0442\u0430\u043a, <i>\u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043d\u0435 \u0434\u043e\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u0442 \u0434\u043e Borland C++ \u043e\u0431\u0440\u0430\u0437\u0446\u0430 1994 \u0433\u043e\u0434\u0430<\/i>.<br \/>  \u041a\u0430\u043a \u043c\u044b \u0437\u043d\u0430\u0435\u043c, \u044d\u0442\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f \u043f\u043e \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 GNU, \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0431\u0440\u0430\u0442\u044c \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u043e\u0442\u0447\u0438\u0441\u043b\u044f\u044f \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u044b\u0445 \u043f\u043b\u0430\u0442\u0435\u0436\u0435\u0439 \u0438\u0445 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044f\u043c. \u0422\u0430\u043a\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0431\u0438\u0437\u043d\u0435\u0441\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0437\u0430\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043d\u0430 \u0447\u0435\u043c-\u0442\u043e \u0435\u0449\u0435, \u043a\u0440\u043e\u043c\u0435 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u044b\u0445 \u043e\u0442\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439. \u0412\u043e\u0442 \u043e\u043d\u0438 \u0438 \u0437\u0430\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e\u0442, \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u044f \u0438 \u043f\u0440\u043e\u0434\u0430\u0432\u0430\u044f \u0432 \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0439 \u0443\u043f\u0430\u043a\u043e\u0432\u043a\u0435 \u0437\u0430 20 \u0431\u0430\u043a\u0441\u043e\u0432 \u0442\u043e, \u0447\u0442\u043e \u0438\u043d\u0436\u0435\u043d\u0435\u0440 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0449\u0438\u043a \u043a\u0443\u043f\u0438\u0442 \u0437\u0430 20 \u0446\u0435\u043d\u0442\u043e\u0432.<br \/>  \u0418 \u0432\u0430\u0436\u043d\u043e \u0442\u0443\u0442 \u043d\u0435 \u0442\u043e, \u0447\u0442\u043e \u043e\u043d\u0438 \u0442\u0430\u043a\u0438\u0435 \u0430\u043b\u0447\u043d\u044b\u0435 \u0431\u0443\u0440\u0436\u0443\u0438, \u043e\u0431\u0438\u0440\u0430\u044e\u0449\u0438\u0435 \u0442\u0440\u0443\u0434\u043e\u0432\u043e\u0439 \u043d\u0430\u0440\u043e\u0434 \u0438 \u0434\u043e\u0441\u0442\u043e\u0439\u043d\u044b\u0435 \u043f\u043e\u0440\u0438\u0446\u0430\u043d\u0438\u044f \u043e\u0442 \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0435\u0441\u0441\u0438\u0432\u043d\u043e\u0433\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u0442\u0432\u0430, \u0430 \u0442\u043e, \u043f\u043e\u0447\u0435\u043c\u0443 \u043e\u043d\u0438 \u043c\u043e\u0433\u0443\u0442 \u0442\u0430\u043a \u0434\u0435\u043b\u0430\u0442\u044c. \u041f\u043e\u0442\u043e\u043c\u0443, \u0447\u0442\u043e:  <\/p>\n<ul>\n<li>\u041e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0432 \u043d\u0443\u0436\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0432 \u043d\u0443\u0436\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u0438 \u0440\u0430\u0437\u0433\u043b\u044f\u0434\u0435\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u043c\u0438 \u0442\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0443\u0432\u0438\u0434\u0435\u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u0435;<\/li>\n<li>\u0421\u0434\u0435\u043b\u0430\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c \u0434\u043b\u044f \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044f \u0442\u043e, \u0447\u0442\u043e \u0440\u0430\u043d\u044c\u0448\u0435 \u0431\u044b\u043b\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0443\u0437\u043a\u043e\u043c\u0443 \u043a\u0440\u0443\u0433\u0443 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u0445 \u043b\u0438\u0446;<\/li>\n<li>\u041a\u0440\u0430\u0441\u0438\u0432\u043e \u0432\u0441\u0435 \u0443\u043f\u0430\u043a\u043e\u0432\u0430\u043b\u0438 \u0438 \u043f\u0440\u0435\u043f\u043e\u0434\u043d\u0435\u0441\u043b\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044e \u0432 \u0433\u043e\u0442\u043e\u0432\u043e\u043c \u043a \u0443\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u044e \u0432\u0438\u0434\u0435.<\/li>\n<\/ul>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043e \u0442\u043e\u043c, \u0437\u0430\u0447\u0435\u043c \u0438 \u043a\u0430\u043a \u0441\u043a\u0440\u0435\u0449\u0438\u0432\u0430\u0442\u044c \u043d\u0430\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u0430 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0438\u043a\u0438 \u0441 \u0446\u0438\u043a\u043b\u043e\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430. \u0412 \u044d\u0442\u043e\u043c \u0446\u0438\u043a\u043b\u0435 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0430 Arduino \u0438\u043c\u0435\u0435\u0442 \u043e\u0434\u043d\u043e \u0432\u0435\u0441\u044c\u043c\u0430 \u0446\u0435\u043d\u043d\u043e\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u2014 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438.<br \/>  \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u2014 \u044d\u0442\u043e \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0439\u0434\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0427\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c, \u0442\u0435\u043c \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0443 \u0438\u043b\u0438 \u0442\u0435\u043c \u0431<b>\u043e<\/b>\u043b\u044c\u0448\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0437\u0430 \u043e\u0442\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0435 \u043d\u0430\u043c \u0432\u0440\u0435\u043c\u044f \u0438 \u0433\u0438\u043f\u043e\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0435\u043d\u0435\u0433 \u0432 \u0435\u0434\u0438\u043d\u0438\u0446\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<p>  \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435, \u043a \u0412\u0430\u043c \u043e\u0431\u0440\u0430\u0442\u0438\u043b\u0441\u044f \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a, \u0443 \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0445\u043e\u0442\u0435\u043b\u043a\u0438-\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f, \u0430 \u0443 \u0412\u0430\u0441 \u043d\u0435\u0442 \u0432 \u0437\u0430\u043a\u0440\u043e\u043c\u0430\u0445 \u0420\u043e\u0434\u0438\u043d\u044b \u043f\u043e\u0447\u0442\u0438 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043d\u0430 86% \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441\u043e \u0441\u0445\u043e\u0436\u0438\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0430\u043c\u0438. \u0423 \u043b\u044e\u0431\u043e\u0433\u043e \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a\u0430 \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0412\u043e\u043f\u0440\u043e\u0441\u0430:  <\/p>\n<ol>\n<li>\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u0442\u043e\u0438\u0442\u044c?<\/li>\n<li>\u041a\u043e\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0433\u043e\u0442\u043e\u0432\u043e?<\/li>\n<\/ol>\n<p>  (\u043e\u0447\u0435\u043d\u044c \u0447\u0430\u0441\u0442\u043e \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u0432\u043e\u043f\u0440\u043e\u0441 \u0435\u043c\u0443 \u043d\u0443\u0436\u0435\u043d \u043e\u0442\u0432\u0435\u0442 \u00ab\u0432\u0447\u0435\u0440\u0430\u00bb)  <\/p>\n<table>\n<tr>\n<td>\u041e\u0442\u0432\u0435\u0442 \u0437\u0434\u043e\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430<\/td>\n<td>\u041e\u0442\u0432\u0435\u0442 \u0430\u0440\u0434\u0443\u0438\u043d\u0449\u0438\u043a\u0430<\/td>\n<\/tr>\n<tr>\n<td>\u041d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u043f\u0440\u0435\u0434\u043f\u0440\u043e\u0435\u043a\u0442\u043d\u043e\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435, \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u0435, \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0440\u044f\u0434 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0439 \u043f\u043e \u0435\u0433\u043e \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u044e \u0438 \u043f\u043e\u0441\u043b\u0435 \u0435\u0433\u043e \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u043c\u044b \u0441\u043a\u0430\u0436\u0435\u043c \u0447\u0435\u0440\u0435\u0437 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0433\u043e\u0442\u043e\u0432\u044b \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0412\u0430\u043c \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439 \u0438 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a \u0438\u0437\u0434\u0435\u043b\u0438\u044f.<\/td>\n<td>\u0417\u0430\u0432\u0442\u0440\u0430 \u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044e \u0412\u0430\u043c \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f, \u043a\u0430\u043a \u044f \u0435\u0433\u043e \u0432\u0438\u0436\u0443, \u0438 \u043c\u044b \u043e\u0431\u0441\u0443\u0434\u0438\u043c \u0434\u0435\u0442\u0430\u043b\u0438. \u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u0438\u0437\u0434\u0435\u043b\u0438\u044f \u043f\u0440\u0438 \u0442\u0438\u0440\u0430\u0436\u0435 M \u0448\u0442\u0443\u043a \u0431\u0443\u0434\u0435\u0442 \u043e\u0442 X \u0434\u043e Y \u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e Z \u043d\u0435\u0434\u0435\u043b\u044c.<\/td>\n<\/tr>\n<\/table>\n<p>  \u041f\u043e \u043e\u043f\u044b\u0442\u0443 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u0439 \u0434\u0435\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043e\u0441\u043c\u0435\u043b\u044e\u0441\u044c \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0442\u044c, \u0447\u0442\u043e \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a \u0432\u044b\u0431\u0435\u0440\u0435\u0442 \u043f\u0443\u0442\u044c <s>\u043a\u0443\u0440\u0438\u043b\u044c\u0449\u0438\u043a\u0430<\/s> \u0430\u0440\u0434\u0443\u0438\u043d\u0449\u0438\u043a\u0430.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043e \u0442\u043e\u043c \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Arduino \u0434\u043b\u044f \u0441\u0432\u043e\u0438\u0445 \u043a\u043e\u0440\u044b\u0441\u0442\u043d\u044b\u0445 \u0446\u0435\u043b\u0435\u0439, \u0441 <s>\u0431\u043b\u044d\u043a\u0434\u0436\u0435\u043a\u043e\u043c \u0438<\/s> \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u043c \u0432\u0435\u0440\u0441\u0438\u043e\u043d\u043d\u043e\u0441\u0442\u0438, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u043f\u0440\u043e\u0447\u0438\u043c\u0438 \u0447\u0443\u0447\u0435\u043b\u0430\u043c\u0438-\u043b\u0435\u0431\u0435\u0434\u044f\u043c\u0438 \u0438\u0437 \u043c\u0438\u0440\u0430 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438.<br \/>  \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0432\u0441\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e, \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432, \u043d\u0443\u0436\u043d\u0430 \u0441\u0440\u0435\u0434\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0438 \u0441\u0442\u0435\u043d\u0434 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043d\u0438 \u0441\u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c. C++, \u043e\u043d \u0438 \u0432 \u0410\u0444\u0440\u0438\u043a\u0435 C++, AVR \u0438 \u0432 Arduino \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f AVR.<\/p>\n<p>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u0440\u0435\u0434\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c Eclipse. <a href=\"https:\/\/geektimes.ru\/post\/255644\/\">\u0412\u043e\u0442 \u0442\u0443\u0442 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f<\/a> \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c Eclipse \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 AVR Toolchain, \u0430 \u043f\u043e\u0442\u043e\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Arduino \u0438 \u0437\u0430\u043c\u0438\u0433\u0430\u0442\u044c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c \u043d\u0430 Uno, <a href=\"http:\/\/playground.arduino.cc\/Code\/Eclipse\">\u0410 \u0432\u043e\u0442 \u0442\u0443\u0442 \u0435\u0449\u0435 \u043b\u0443\u0447\u0448\u0435<\/a>, \u043d\u043e \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c.<br \/>  \u042f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u044e \u0435\u0435 \u043a\u043e\u0435-\u043a\u0430\u043a\u0438\u043c\u0438 \u0433\u0440\u0430\u0431\u043b\u044f\u043c\u0438, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0441\u0442\u0443\u043f\u0438\u043b, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u0443-\u0442\u043e \u044d\u0442\u043e \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442 \u043f\u0430\u0440\u0443 \u0447\u0430\u0441\u043e\u0432 \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<br \/>  \u0412\u0441\u0435 \u043d\u0438\u0436\u0435\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0434\u043b\u044f \u041b\u0438\u043d\u0443\u043a\u0441\u0430 \u0438 Leonardo. \u0414\u043b\u044f \u0412\u0438\u043d\u0434\u044b \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <a href=\"http:\/\/www.mingw.org\/\">MinGW\/msys<\/a>.<\/p>\n<p>  \u0414\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u0432\u0441\u0435\u0445 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432, \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0432 \u044f\u0434\u0440\u043e Arduino \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b \u043f\u0440\u0435\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430. \u0415\u0441\u043b\u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440 \u0443\u0441\u043b\u043e\u0432\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 #ifdef #else #endif. \u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u0430\u0432\u0442\u043e\u0440 \u043d\u0430 \u0432\u0441\u0435 \u044d\u0442\u043e \u0437\u0430\u0431\u0438\u043b, \u0432\u0437\u044f\u0432 \u0433\u043e\u0442\u043e\u0432\u044b\u0439 .a \u0444\u0430\u0439\u043b \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 Arduino IDE. \u041d\u043e \u0432 \u044f\u0434\u0440\u043e \u043f\u043e\u043f\u0430\u0434\u0430\u044e\u0442 \u043d\u0435 \u0432\u0441\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, SPI \u0438 Ethernet \u043d\u0435 \u043f\u043e\u043f\u0430\u0434\u0430\u044e\u0442, \u0430 \u0432 \u043d\u0438\u0445 \u043d\u0430\u0441 \u0436\u0434\u0443\u0442 \u0442\u0430\u043a\u0438\u0435 \u0436\u0435 \u043f\u0440\u0438\u043a\u043e\u043b\u044b \u0441 \u0443\u0441\u043b\u043e\u0432\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0435\u0439.<br \/>  \u0412\u044b\u044f\u0441\u043d\u0438\u0442\u044c \u043a\u0430\u043a\u0438\u0435 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b \u0438 \u043a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e.  <\/p>\n<ol>\n<li>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c Arduino IDE<\/li>\n<li>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u043b\u0430\u0442\u0443, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u0442\u0435\u043d\u0434\u0430<\/li>\n<li>\u0424\u0430\u0439\u043b \u2014 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u2014 \u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0439 \u0432\u044b\u0432\u043e\u0434 \u2014 \u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440<\/li>\n<li>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044e \u0438 \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0438\u0442\u0430\u0435\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u044c, \u0438\u0449\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0438 \u0432\u0438\u0434\u0430<br \/> \n<pre><code class=\"bash\">*** avr-g++ -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR  -DUSB_VID=0x2341 -DUSB_PID=0x8036 '-DUSB_MANUFACTURER=&quot;Unknown&quot;' '-DUSB_PRODUCT=&quot;Arduino Leonardo&quot;' *** <\/code><\/pre>\n<p>  \u0412\u0441\u0435, \u0447\u0442\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0441 \u043a\u043b\u044e\u0447\u043e\u043c -D (\u043a\u0440\u043e\u043c\u0435 F_CPU, \u0435\u0433\u043e Eclipse \u0434\u043e\u0431\u0430\u0432\u0438\u0442 \u0441\u0430\u043c\u0430) \u043d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 \u0432 Eclipse.  <\/li>\n<\/ol>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/b65\/27d\/dc8\/b6527ddc8f374bd193b728fb70856b5b.png\"\/><br \/>  \u0427\u0442\u043e \u0431\u044b \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u043d\u0430\u0448\u0435\u043b \u0432\u0441\u0435 .h \u0444\u0430\u0439\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0437\u0430\u0445\u043e\u0442\u0438\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a \u043d\u0438\u043c \u043f\u0443\u0442\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445. \u0422\u0443\u0442 \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u043f\u0443\u0442\u0438. \u041c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u044b\u0435 \u043f\u0443\u0442\u0438 \u043a \u043f\u0430\u043f\u043a\u0430\u043c Arduino IDE \u0438\u043b\u0438 \u043f\u0440\u0438\u043b\u0438\u043d\u043a\u043e\u0432\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043e\u0442 {workspase}\/{ProjName}. \u0412\u0442\u043e\u0440\u043e\u0439 \u043f\u0443\u0442\u044c \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u044f\u0434\u0440\u043e \u0432 Eclipse, \u0445\u043e\u0442\u044f \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0437\u043d\u0438\u0446\u044b \u043d\u0435\u0442, \u0438 \u0432 Arduino IDE \u0438 \u0432 Eclipse \u0437\u0430 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044e \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 avr-g++<br \/>  \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u0443\u0442\u044c \u043a pins_arduino.h \u0434\u043b\u044f \u0442\u043e\u0439 \u043f\u043b\u0430\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/23d\/006\/16a\/23d00616a5b04c96b3d33ade8789b44f.png\"\/><br \/>  \u0414\u0430\u0431\u044b \u043d\u0435 \u043d\u0430\u0440\u0443\u0448\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u0439\u043d\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0444\u0430\u0439\u043b\u043e\u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 main.cpp \u0438\u0437 \u043d\u0435\u0435 \u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u043c. \u041f\u0440\u043e\u0441\u0442\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u043c \u0435\u0433\u043e \u043a\u0430\u043a \u0435\u0441\u0442\u044c \u0438\u0437 \u044f\u0434\u0440\u0430 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442, \u0430 \u0441\u0432\u043e\u0439 \u0444\u0430\u0439\u043b \u043d\u0430\u0437\u043e\u0432\u0435\u043c \u043a\u0430\u043a\u0438\u043c-\u043d\u0438\u0431\u0443\u0434\u044c \u0434\u0440\u0443\u0433\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c. \u041e\u0431\u044a\u044f\u0432\u043b\u044f\u0442\u044c \u0432 \u043d\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e main() \u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u043e\u043d\u0430 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0432 main.cpp, \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0432\u0441\u0435 \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0438 \u0432 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0446\u0438\u043a\u043b\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044e loop(), \u043b\u0438\u043d\u043a\u043e\u0432\u0449\u0438\u043a \u0441\u043e\u0431\u0435\u0440\u0435\u0442 \u0432\u0441\u0435 \u043a\u0430\u043a \u043d\u0430\u0434\u043e.<\/p>\n<p>  \u0421\u0440\u0435\u0434\u0430 \u0433\u043e\u0442\u043e\u0432\u0430 \u043a \u0440\u0430\u0431\u043e\u0442\u0435. \u041f\u0438\u0448\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a \u0436\u0435 \u043a\u0430\u043a \u0432 Arduino IDE, \u043d\u043e \u0442\u0443\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u0442\u0440\u043e\u0436\u0435 \u0441\u043b\u0435\u0434\u044f\u0442 \u0437\u0430 \u0441\u043e\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0435\u043c \u043a\u0430\u043d\u043e\u043d\u043e\u0432 C++. \u0418 \u0432 \u043b\u044e\u0431\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u043c \u0441\u043f\u0443\u0441\u0442\u0438\u0442\u0441\u044f \u043e\u0442 \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u044d\u0442\u0430\u0436 \u043d\u0438\u0436\u0435. \u0415\u0441\u043b\u0438 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u043e\u0440\u0442\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 digitalWrite \u2014 \u043f\u0438\u0448\u0435\u043c \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0432 \u043f\u043e\u0440\u0442\u044b.<br \/>  \u0423\u0432\u044b, \u043f\u0440\u0438\u0432\u044b\u0447\u043a\u0443 \u0437\u0430\u0432\u0435\u0448\u0438\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 \u0432\u044b\u0437\u043e\u0432\u043e\u043c <\/p>\n<pre><code class=\"cpp\">delay(5000);<\/code><\/pre>\n<p> Eclipse \u043d\u0435 \u043b\u0435\u0447\u0438\u0442. \u042d\u0442\u043e\u043c\u0443 \u0443\u0447\u0430\u0442 \u0433\u0434\u0435-\u0442\u043e \u0442\u043e \u043b\u0438 \u0432 \u0441\u0442\u0430\u0440\u0448\u0438\u0445 \u043a\u043b\u0430\u0441\u0441\u0430\u0445 \u0448\u043a\u043e\u043b\u044b, \u0442\u043e \u043b\u0438 \u043c\u043b\u0430\u0434\u0448\u0438\u0445 \u043a\u0443\u0440\u0441\u0430\u0445 \u0412\u0423\u0417\u0430, \u044d\u0442\u043e \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0433\u043b\u0443\u0431\u043e\u043a\u043e \u043f\u0440\u043e\u043d\u0438\u043a\u0430\u0435\u0442 \u0432 \u043b\u0438\u0447\u043d\u043e\u0441\u0442\u044c, \u0447\u0442\u043e \u043d\u0438\u043a\u0430\u043a\u0438\u0435 \u043d\u0440\u0430\u0432\u043e\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u0435 \u043c\u043e\u0433\u0443\u0442 \u043d\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 \u043d\u0430 \u043f\u0443\u0442\u044c \u0438\u0441\u0442\u0438\u043d\u043d\u044b\u0439.<\/p>\n<p>  \u0414\u043b\u044f \u0437\u0430\u043b\u0438\u0432\u043a\u0438 \u0438 Arduino IDE \u0438 Eclipse \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0443\u0442\u0438\u043b\u0438\u0442\u0443-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440 AVRDude. \u041f\u043b\u0430\u0442\u044b \u0442\u0438\u043f\u0430 Uno \u043e\u043d\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u043d\u0430\u0435\u0442 \u043f\u043e\u0434 \u0438\u043c\u0435\u043d\u0435\u043c \u00abarduino\u00bb, \u0430 \u0432\u043e\u0442 \u0431\u043e\u043b\u0435\u0435 \u0434\u0435\u0448\u0435\u0432\u044b\u0435 \u0442\u0438\u043f\u0430 Leonardo \u043e\u043d\u0430 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u0434 \u044d\u0442\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0443\u0437\u043d\u0430\u0432\u0430\u0442\u044c \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f.<br \/>  \u0418\u0434\u0435\u043c \u0432 boards.txt \u0438 \u0443\u0437\u043d\u0430\u0435\u043c, \u0447\u0442\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u0430<br \/>  <code>leonardo.upload.protocol=avr109<br \/>  <\/code><br \/>  \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 AVRDude \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u00abAtmel AppNote AVR109 Boot Loader\u00bb, \u0432\u043e\u0442 \u043e\u043d:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/a47\/e6b\/bd4\/a47e6bbd4afe47da8374653d5c7792ed.png\"\/><br \/>  \u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043d\u0435\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e Eclipse \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u0432\u043e\u0442 \u044d\u0442\u043e\u0433\u043e<br \/>  <code>leonardo.upload.use_1200bps_touch=true<br \/>  <\/code><br \/>  \u041f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0440\u0443\u0447\u043a\u0430\u043c\u0438 \u043d\u0430\u0436\u0438\u043c\u0430\u0442\u044c reset \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439.<\/p>\n<p>  \u041d\u0443 \u0438 \u0432 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u043f\u0440\u043e\u0435\u043a\u0442, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0432 Arduino IDE<br \/>  <code>\u0421\u043a\u0435\u0442\u0447 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 28\u00a0432 \u0431\u0430\u0439\u0442 (99%) \u043f\u0430\u043c\u044f\u0442\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430. \u0412\u0441\u0435\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e 28\u00a0672 \u0431\u0430\u0439\u0442.<br \/>  \u0413\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 1\u00a0254 \u0431\u0430\u0439\u0442 (48%) \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438, \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044f 1\u00a0306 \u0431\u0430\u0439\u0442 \u0434\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445. \u041c\u0430\u043a\u0441\u0438\u043c\u0443\u043c: 2\u00a0560 \u0431\u0430\u0439\u0442.<br \/>  <\/code><br \/>  \u0438 \u0432 Eclipse<br \/>  <code>Invoking: Print Size<br \/>  avr-size --format=avr --mcu=atmega32u4 EthernetController.elf<br \/>  AVR Memory Usage<br \/>  ----------------<br \/>  Device: atmega32u4<\/p>\n<p>  Program: 27834 bytes (84.9% Full)<br \/>  (.text + .data + .bootloader)<\/p>\n<p>  Data: 1257 bytes (49.1% Full)<br \/>  (.data + .bss + .noinit)<\/p>\n<p>  Finished building: sizedummy<br \/>  <\/code><br \/>  \u041f\u0443\u0441\u0442\u044f\u0447\u043e\u043a, \u0430 \u0434\u043b\u044f \u0434\u043b\u044f \u0434\u043e\u0434\u0435\u043b\u043a\u0438 \u043a\u0430\u043a \u0440\u0430\u0437 \u044d\u0442\u0438 \u043f\u043e\u043b\u043a\u0438\u043b\u043e \u0438 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442.               <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/geektimes.ru\/post\/270892\/\"> https:\/\/geektimes.ru\/post\/270892\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442!<br \/>  \u041d\u0435\u0434\u0430\u0432\u043d\u043e \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u043d\u0430 GT \u043f\u0430\u0440\u0430 \u0441\u0442\u0430\u0442\u0435\u0439 <a href=\"https:\/\/geektimes.ru\/post\/255760\/\">\u043f\u0440\u043e\u0442\u0438\u0432<\/a> \u0438 <a href=\"https:\/\/geektimes.ru\/post\/269830\/\">\u0437\u0430<\/a> \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f Arduino \u0434\u043b\u044f \u0447\u0435\u0433\u043e-\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0438\u0431\u044b\u043b\u044c\u043d\u043e\u0433\u043e, \u0447\u0435\u043c \u043c\u0438\u0433\u0430\u043d\u0438\u0435 \u043b\u0430\u043c\u043f\u043e\u0447\u043a\u0430\u043c\u0438 \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0445 \u043c\u0435\u0442\u0435\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0439. \u041e\u0431\u044b\u0447\u043d\u044b\u0439 \u0442\u0430\u043a\u043e\u0439 \u0434\u0438\u0441\u043a\u0443\u0440\u0441 \u0438\u0437 \u043c\u0438\u0440\u0430 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439, \u043a\u043e\u0433\u0434\u0430 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u0432\u0441\u0435 \u0431\u043e\u043b\u0435\u0435 \u0438 \u0431\u043e\u043b\u0435\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0448\u0438\u0440\u043e\u043a\u0438\u043c \u0441\u043b\u043e\u044f\u043c \u043d\u0430\u0441\u0435\u043b\u0435\u043d\u0438\u044f, \u043f\u043b\u0430\u0432\u0430\u043b\u0438, \u0437\u043d\u0430\u0435\u043c.<br \/>  \u0418\u043c\u0435\u044f \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0412\u0423\u0417\u043e\u0432\u0441\u043a\u0443\u044e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u0443\u044e \u0441 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432, \u044f \u043f\u043e\u043d\u0438\u043c\u0430\u044e \u0442\u0435\u0445 \u043a\u0442\u043e \u043f\u0440\u043e\u0442\u0438\u0432. \u0410 \u0438\u043c\u0435\u044f \u043c\u043d\u043e\u0433\u043e \u043b\u0435\u0442 \u043e\u043f\u044b\u0442\u0430 \u043a\u043e\u043c\u043c\u0435\u0440\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0432\u043e\u0438\u0445, \u043d\u043e \u0438 \u0432 \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0447\u0443\u0436\u0438\u0445 \u0437\u043d\u0430\u043d\u0438\u0439 \u0438 \u043d\u0430\u0432\u044b\u043a\u043e\u0432, \u044f \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u044e \u0442\u0435\u0445 \u043a\u0442\u043e \u0437\u0430.<br \/>  \u0412\u044b \u043f\u0440\u0430\u0432\u044b, \u0438 \u0432\u044b \u0442\u043e\u0436\u0435 \u043f\u0440\u0430\u0432\u044b, \u0430 \u0438\u0441\u0442\u0438\u043d\u0430, \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430 \u0433\u0434\u0435-\u0442\u043e <s>\u0440\u044f\u0434\u043e\u043c<\/s> \u043f\u043e\u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-274120","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/274120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=274120"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/274120\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=274120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=274120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=274120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}