{"id":104427,"date":"2021-08-05T20:27:04","date_gmt":"2021-08-05T14:27:04","guid":{"rendered":"http:\/\/rcl-radio.ru\/?p=104427"},"modified":"2023-12-02T15:49:25","modified_gmt":"2023-12-02T09:49:25","slug":"nec-%d0%b8%d0%bd%d1%84%d1%80%d0%b0%d0%ba%d1%80%d0%b0%d1%81%d0%bd%d1%8b%d0%b9-%d0%bf%d1%80%d0%be%d1%82%d0%be%d0%ba%d0%be%d0%bb-%d0%bf%d0%b5%d1%80%d0%b5%d0%b4%d0%b0%d1%87%d0%b8-%d0%b4%d0%b0","status":"publish","type":"post","link":"http:\/\/rcl-radio.ru\/?p=104427","title":{"rendered":"NEC \u2013 \u0438\u043d\u0444\u0440\u0430\u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 (Arduino)"},"content":{"rendered":"<p>\u0424\u043e\u0440\u043c\u0430\u0442 NEC, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0439 \u043e\u0434\u043d\u043e\u0438\u043c\u0435\u043d\u043d\u043e\u0439 \u044f\u043f\u043e\u043d\u0441\u043a\u043e\u0439 \u0444\u0438\u0440\u043c\u043e\u0439, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u043e \u0432\u0441\u0435\u0445 \u043f\u0443\u043b\u044c\u0442\u0430\u0445 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e\u0439 \u0431\u044b\u0442\u043e\u0432\u043e\u0439 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u0443\u0440\u043e\u0439. \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u043e\u0441\u043d\u043e\u0432\u0430\u043d \u043d\u0430 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0443\u0440\u043e\u0432\u043d\u0435\u0439 \u0434\u043b\u0438\u043d\u043e\u0439 \u043f\u0430\u0443\u0437\u044b, \u0442\u043e \u0435\u0441\u0442\u044c \u043d\u0430\u0447\u0430\u043b\u043e \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0431\u0438\u0442\u0430, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e \u0438\u043c\u043f\u0443\u043b\u044c\u0441\u043e\u043c \u0434\u043b\u0438\u043d\u043e\u0439 562,5 \u043c\u043a\u0441, \u0430 \u0434\u043b\u0438\u043d\u0430 \u043f\u0430\u0443\u0437\u044b, \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0437\u0430 \u0438\u043c\u043f\u0443\u043b\u044c\u0441\u043e\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435.<\/p>\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-184910.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-104428\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-184910.png\" alt=\"\" width=\"608\" height=\"458\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-184910.png 608w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-184910-200x151.png 200w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-184910-500x377.png 500w\" sizes=\"auto, (max-width: 608px) 100vw, 608px\" \/><\/a><\/p>\n<p>\u0418\u043c\u043f\u0443\u043b\u044c\u0441 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043f\u0430\u0447\u043a\u0443 \u043d\u0430 \u043d\u0435\u0441\u0443\u0449\u0435\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u0435 38.222 \u043a\u0413\u0446.<\/p>\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-211550.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-104434\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-211550.png\" alt=\"\" width=\"868\" height=\"235\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-211550.png 868w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-211550-200x54.png 200w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-211550-500x135.png 500w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-211550-768x208.png 768w\" sizes=\"auto, (max-width: 868px) 100vw, 868px\" \/><\/a><\/p>\n<p>\u041b\u043e\u0433. 0 &#8212; 562,5 \u043c\u043a\u0441 \u043f\u0430\u043a\u0435\u0442 \u0438\u043c\u043f\u0443\u043b\u044c\u0441\u043e\u0432 \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 562,5 \u043c\u043a\u0441 \u043f\u0430\u0443\u0437\u043e\u0439, \u0441 \u043e\u0431\u0449\u0438\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0432 1.125 \u043c\u0441<br \/>\n\u041b\u043e\u0433. 1 &#8212; 562,5 \u043c\u043a\u0441 \u043f\u0430\u043a\u0435\u0442 \u0438\u043c\u043f\u0443\u043b\u044c\u0441\u043e\u0432 \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 1.6875 \u043c\u043a\u0441 \u043f\u0430\u0443\u0437\u043e\u0439, \u0441 \u043e\u0431\u0449\u0438\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0432 2.25 \u043c\u0441<\/p>\n<p>\u0424\u043e\u0440\u043c\u0430\u0442 \u043f\u043e\u0441\u044b\u043b\u043a\u0438 NEC \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u043f\u0440\u0435\u0430\u043c\u0431\u0443\u043b\u044b &#8212; \u043f\u0430\u043a\u0435\u0442\u0430 \u043d\u0435\u0441\u0443\u0449\u0435\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u044b \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e 9 \u043c\u0441, \u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u0430\u0443\u0437\u0430 \u0432 4.5 \u043c\u0441. \u0414\u0430\u043b\u0435\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u0430\u043a\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 4 \u0431\u0430\u0439\u0442\u0430\u043c. \u041f\u0435\u0440\u0432\u044b\u0439 \u0431\u0430\u0439\u0442 &#8212; \u0430\u0434\u0440\u0435\u0441 8 \u0431\u0438\u0442, \u0432\u0442\u043e\u0440\u043e\u0439 \u0431\u0430\u0439\u0442 \u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0431\u0430\u0439\u0442 \u0430\u0434\u0440\u0435\u0441\u0430, \u0442\u0440\u0435\u0442\u0438\u0439 \u0431\u0430\u0439\u0442 &#8212; \u043a\u043e\u043c\u0430\u043d\u0434\u0430 8 \u0431\u0438\u0442, \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u044b\u0439 \u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0431\u0430\u0439\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b. \u0422\u0430\u043a \u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 NEC, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0430\u0434\u0440\u0435\u0441 \u0438\u043c\u0435\u0435\u0442 \u0444\u043e\u0440\u043c\u0430\u0442 16 \u0431\u0438\u0442 (\u043d\u0435\u0442 \u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0431\u0430\u0439\u0442\u0430 \u0430\u0434\u0440\u0435\u0441\u0430), \u0430 \u0431\u0430\u0439\u0442\u044b \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0441\u043e\u0441\u0442\u043e\u044f\u0442 \u0438\u0437 \u0431\u0430\u0439\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438 \u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0431\u0430\u0439\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u044b.<\/p>\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-184902.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-104429\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-184902.png\" alt=\"\" width=\"701\" height=\"303\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-184902.png 701w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-184902-200x86.png 200w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-184902-500x216.png 500w\" sizes=\"auto, (max-width: 701px) 100vw, 701px\" \/><\/a><\/p>\n<p>\u041f\u0440\u0438 \u0443\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0438 \u043a\u043d\u043e\u043f\u043a\u0438 \u043f\u0443\u043b\u044c\u0442\u0430, \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0440\u0430\u0437, \u0437\u0430\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0435 \u043f\u043e\u0441\u044b\u043b\u043a\u0438, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0438\u0435 \u0438\u0437 \u043f\u0440\u0435\u0430\u043c\u0431\u0443\u043b\u044b \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e 9 \u043c\u0441 \u0438 \u0435\u0434\u0438\u043d\u0438\u0447\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u0430. \u0422\u0430\u043a\u0438\u0435 \u043f\u043e\u0441\u044b\u043b\u043a\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u0441 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u043d\u043e\u0441\u0442\u044c\u044e 110 \u043c\u0441.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2020\/04\/Screenshot-23.04.2020-090826.png\" width=\"235\" height=\"167\" \/>\u0414\u043b\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Arduino \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u043a\u043d\u043e\u043f\u043a\u0438 \u0418\u041a \u043f\u0443\u043b\u044c\u0442\u0430, \u043d\u043e \u043c\u043d\u0435 \u0441\u0442\u0430\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u0434 \u043a\u043d\u043e\u043f\u043a\u0438 \u043f\u0443\u043b\u044c\u0442\u0430 \u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a. \u0421\u043a\u0435\u0442\u0447 \u043e\u043f\u0440\u043e\u0441\u0430 \u0418\u041a \u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u044b\u043c \u0438 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0432\u0441\u0435\u0433\u043e 2260 \u0431\u0430\u0439\u0442 \u043f\u0430\u043c\u044f\u0442\u0438.<\/p>\n<p>\u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f\u00a0 \u0418\u041a-\u0434\u0430\u0442\u0447\u0438\u043a\u043e\u043c <strong>VS1838B<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0430\u043c\u0438:<\/p>\n<ul>\n<li>\u043d\u0435\u0441\u0443\u0449\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u0430: 38 \u043a\u0413\u0446;<\/li>\n<li>\u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f: 2,7 \u2014 5,5 \u0412;<\/li>\n<li>\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0435\u043c\u044b\u0439 \u0442\u043e\u043a: 50 \u043c\u043a\u0410.<\/li>\n<\/ul>\n<p>\u0418\u041a \u0434\u0430\u0442\u0447\u0438\u043a \u0438\u043c\u0435\u0435\u0442 \u0442\u0440\u0438 \u0432\u044b\u0432\u043e\u0434\u0430, 2 \u0432\u044b\u0432\u043e\u0434\u0430 \u044d\u0442\u043e \u043f\u0438\u0442\u0430\u043d\u0438\u0435, \u0442\u0440\u0435\u0442\u0438\u0439 \u0432\u044b\u0445\u043e\u0434 \u0441\u0438\u0433\u043d\u0430\u043b\u0430.<\/p>\n<div id=\"marketWidget\"><\/div>\n<pre class=\"actionscript\" style=\"font-family: monospace; font-size: 10px;\">bool <span style=\"color: #0066cc;\">data<\/span><span style=\"color: #66cc66;\">[<\/span><span style=\"color: #cc66cc;\">96<\/span><span style=\"color: #66cc66;\">]<\/span>,st,st1,raz;\r\nuint32_t cod;\r\nbyte i1,i2,s;\r\n\u00a0\r\n<span style=\"color: #0066cc;\">void<\/span> setup<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n  Serial.<span style=\"color: #006600;\">begin<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">9600<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n  DDRB <span style=\"color: #66cc66;\">&amp;<\/span>= ~<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> <span style=\"color: #cc66cc;\">0<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n   cli<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span>; \r\n  TCCR1A = <span style=\"color: #cc66cc;\">0<\/span>;   \r\n  TCCR1B = <span style=\"color: #cc66cc;\">0<\/span>;   \r\n  OCR1A = <span style=\"color: #cc66cc;\">9000<\/span>; <span style=\"color: #808080; font-style: italic;\">\/\/ 562.5 mks<\/span>\r\n  TCCR1B <span style=\"color: #66cc66;\">|<\/span>= <span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> WGM12<span style=\"color: #66cc66;\">)<\/span>; \r\n  TCCR1B <span style=\"color: #66cc66;\">|<\/span>= <span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> CS10<span style=\"color: #66cc66;\">)<\/span>;  \r\n  TIMSK1 <span style=\"color: #66cc66;\">|<\/span>= <span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> OCIE1A<span style=\"color: #66cc66;\">)<\/span>;  \r\n   sei<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span>; \r\n<span style=\"color: #66cc66;\">}<\/span>\r\n\u00a0\r\n<span style=\"color: #0066cc;\">void<\/span> loop<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span> <span style=\"color: #66cc66;\">{<\/span>\r\n<span style=\"color: #b1b100;\">if<\/span><span style=\"color: #66cc66;\">(<\/span>raz==<span style=\"color: #cc66cc;\">1<\/span><span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>  Serial.<span style=\"color: #006600;\">println<\/span><span style=\"color: #66cc66;\">(<\/span>IR<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span>,HEX<span style=\"color: #66cc66;\">)<\/span>;<span style=\"color: #66cc66;\">}<\/span>\r\ndelay<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">200<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n<span style=\"color: #66cc66;\">}<\/span>\r\n\u00a0\r\nuint32_t IR<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>\r\n delay<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">150<\/span><span style=\"color: #66cc66;\">)<\/span>;\r\n cod=<span style=\"color: #cc66cc;\">0<\/span>;i2=<span style=\"color: #cc66cc;\">0<\/span>;\r\n <span style=\"color: #b1b100;\">for<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #0066cc;\">int<\/span> a=<span style=\"color: #cc66cc;\">0<\/span>;a<span style=\"color: #66cc66;\">&lt;<\/span><span style=\"color: #cc66cc;\">96<\/span>;a++<span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>\r\n   <span style=\"color: #b1b100;\">if<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #0066cc;\">data<\/span><span style=\"color: #66cc66;\">[<\/span>a<span style=\"color: #66cc66;\">]<\/span> + <span style=\"color: #0066cc;\">data<\/span><span style=\"color: #66cc66;\">[<\/span>a+<span style=\"color: #cc66cc;\">2<\/span><span style=\"color: #66cc66;\">]<\/span> == <span style=\"color: #cc66cc;\">2<\/span><span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>cod += <span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">(<\/span>uint32_t<span style=\"color: #66cc66;\">)<\/span><span style=\"color: #cc66cc;\">0<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> <span style=\"color: #cc66cc;\">31<\/span>-i2<span style=\"color: #66cc66;\">)<\/span>;i2++;a=a+<span style=\"color: #cc66cc;\">1<\/span>;<span style=\"color: #66cc66;\">}<\/span>\r\n   <span style=\"color: #b1b100;\">if<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #0066cc;\">data<\/span><span style=\"color: #66cc66;\">[<\/span>a<span style=\"color: #66cc66;\">]<\/span> + <span style=\"color: #0066cc;\">data<\/span><span style=\"color: #66cc66;\">[<\/span>a+<span style=\"color: #cc66cc;\">2<\/span><span style=\"color: #66cc66;\">]<\/span> == <span style=\"color: #cc66cc;\">1<\/span><span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>cod += <span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">(<\/span>uint32_t<span style=\"color: #66cc66;\">)<\/span><span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> <span style=\"color: #cc66cc;\">31<\/span>-i2<span style=\"color: #66cc66;\">)<\/span>;i2++;a=a+<span style=\"color: #cc66cc;\">3<\/span>;<span style=\"color: #66cc66;\">}<\/span><span style=\"color: #66cc66;\">}<\/span>\r\n raz=<span style=\"color: #cc66cc;\">0<\/span>;\r\n TCCR1B <span style=\"color: #66cc66;\">|<\/span>= <span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> CS10<span style=\"color: #66cc66;\">)<\/span>;OCR1A = <span style=\"color: #cc66cc;\">3200<\/span>;<span style=\"color: #808080; font-style: italic;\">\/\/5000 Hz<\/span>\r\n <span style=\"color: #b1b100;\">if<\/span><span style=\"color: #66cc66;\">(<\/span>cod==<span style=\"color: #cc66cc;\">1<\/span><span style=\"color: #66cc66;\">||<\/span>cod<span style=\"color: #66cc66;\">&gt;<\/span>0xfffffff<span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>cod=0xFFFFFFFF;<span style=\"color: #66cc66;\">}<\/span>\r\n <span style=\"color: #b1b100;\">return<\/span> cod;<span style=\"color: #66cc66;\">}<\/span>\r\n\u00a0\r\nISR<span style=\"color: #66cc66;\">(<\/span>TIMER1_COMPA_vect<span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>\r\n     <span style=\"color: #b1b100;\">if<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">(<\/span>PINB <span style=\"color: #66cc66;\">&gt;&gt;<\/span> <span style=\"color: #cc66cc;\">0<\/span><span style=\"color: #66cc66;\">)<\/span> <span style=\"color: #66cc66;\">&amp;<\/span> <span style=\"color: #cc66cc;\">1<\/span><span style=\"color: #66cc66;\">)<\/span>==<span style=\"color: #cc66cc;\">0<\/span><span style=\"color: #66cc66;\">&amp;&amp;<\/span>st==<span style=\"color: #cc66cc;\">0<\/span><span style=\"color: #66cc66;\">&amp;&amp;<\/span>raz==<span style=\"color: #cc66cc;\">0<\/span><span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>st=<span style=\"color: #cc66cc;\">1<\/span>;OCR1A = <span style=\"color: #cc66cc;\">9000<\/span>;<span style=\"color: #66cc66;\">}<\/span>\r\n     <span style=\"color: #b1b100;\">if<\/span><span style=\"color: #66cc66;\">(<\/span>st==<span style=\"color: #cc66cc;\">1<\/span><span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>s++;<span style=\"color: #66cc66;\">}<\/span>\r\n     <span style=\"color: #b1b100;\">if<\/span><span style=\"color: #66cc66;\">(<\/span>s<span style=\"color: #66cc66;\">&gt;<\/span><span style=\"color: #cc66cc;\">20<\/span><span style=\"color: #66cc66;\">&amp;&amp;<\/span><span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">(<\/span>PINB <span style=\"color: #66cc66;\">&gt;&gt;<\/span> <span style=\"color: #cc66cc;\">0<\/span><span style=\"color: #66cc66;\">)<\/span> <span style=\"color: #66cc66;\">&amp;<\/span> <span style=\"color: #cc66cc;\">1<\/span><span style=\"color: #66cc66;\">)<\/span>==<span style=\"color: #cc66cc;\">0<\/span><span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>st1=<span style=\"color: #cc66cc;\">1<\/span>;<span style=\"color: #66cc66;\">}<\/span>   \r\n     <span style=\"color: #b1b100;\">if<\/span><span style=\"color: #66cc66;\">(<\/span>st1==<span style=\"color: #cc66cc;\">1<\/span><span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span><span style=\"color: #0066cc;\">data<\/span><span style=\"color: #66cc66;\">[<\/span>i1<span style=\"color: #66cc66;\">]<\/span>=<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #66cc66;\">(<\/span>PINB <span style=\"color: #66cc66;\">&gt;&gt;<\/span> <span style=\"color: #cc66cc;\">0<\/span><span style=\"color: #66cc66;\">)<\/span> <span style=\"color: #66cc66;\">&amp;<\/span> <span style=\"color: #cc66cc;\">1<\/span><span style=\"color: #66cc66;\">)<\/span>;i1++;<span style=\"color: #66cc66;\">}<\/span> \r\n     <span style=\"color: #b1b100;\">if<\/span><span style=\"color: #66cc66;\">(<\/span>i1<span style=\"color: #66cc66;\">&gt;<\/span><span style=\"color: #cc66cc;\">96<\/span><span style=\"color: #66cc66;\">)<\/span><span style=\"color: #66cc66;\">{<\/span>i1=<span style=\"color: #cc66cc;\">0<\/span>;s=<span style=\"color: #cc66cc;\">0<\/span>;st=<span style=\"color: #cc66cc;\">0<\/span>;raz=<span style=\"color: #cc66cc;\">1<\/span>;st1=<span style=\"color: #cc66cc;\">0<\/span>;TCCR1B <span style=\"color: #66cc66;\">&amp;<\/span>= ~<span style=\"color: #66cc66;\">(<\/span><span style=\"color: #cc66cc;\">1<\/span> <span style=\"color: #66cc66;\">&lt;&lt;<\/span> CS10<span style=\"color: #66cc66;\">)<\/span>; <span style=\"color: #66cc66;\">}<\/span>\r\n     <span style=\"color: #66cc66;\">}<\/span><\/pre>\n<p style=\"text-align: center;\">\u041e\u0434\u0438\u043d\u043e\u0447\u043d\u043e\u0435 \u043d\u0430\u0436\u0430\u0442\u0438\u0435 \u043a\u043d\u043e\u043f\u043a\u0438 \u043f\u0443\u043b\u044c\u0442\u0430 \u0438 \u0443\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-104431 aligncenter\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-184811.png\" alt=\"\" width=\"298\" height=\"328\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-184811.png 298w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2021\/08\/\u0421\u043d\u0438\u043c\u043e\u043a-\u044d\u043a\u0440\u0430\u043d\u0430-\u043e\u0442-2021-08-05-184811-200x220.png 200w\" sizes=\"auto, (max-width: 298px) 100vw, 298px\" \/><br \/>\n\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u043f\u0440\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0441\u043a\u0435\u0442\u0447\u0430 \u0431\u044b\u043b\u043e \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u0438 \u0431\u0435\u0437\u043e\u0448\u0438\u0431\u043e\u0447\u043d\u043e\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u043e\u0432 \u043a\u043d\u043e\u043f\u043a\u0438 \u043f\u0443\u043b\u044c\u0442\u0430. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0435\u0433\u043e \u043a\u043e\u0434\u0430 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u0432 \u0446\u0438\u043a\u043b\u0435 loop() \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u043b\u0438\u044f\u0442\u044c \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0447\u0442\u0435\u043d\u0438\u044f \u0418\u041a \u0434\u0430\u0442\u0447\u0438\u043a\u0430, \u0442\u0430\u043a \u0436\u0435 \u0438 \u0418\u041a \u0434\u0430\u0442\u0447\u0438\u043a \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u043b\u0438\u044f\u0442\u044c \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0435\u0433\u043e \u043a\u043e\u0434\u0430 \u0432 \u0446\u0438\u043a\u043b\u0435 loop().<\/p>\n<p>\u0418\u041a \u0434\u0430\u0442\u0447\u0438\u043a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043a \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u043c\u0443 \u0432\u0445\u043e\u0434\u0443 D8 Arduino (Nano), \u0434\u043b\u044f \u043e\u043f\u0440\u043e\u0441\u0430 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0432\u0445\u043e\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u0430\u0439\u043c\u0435\u0440 1. \u041f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u0442\u0430\u0439\u043c\u0435\u0440\u0430 \u0438 \u043e\u043f\u0440\u043e\u0441 \u0432\u0445\u043e\u0434\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0442 \u0441 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u043e\u043c 200 \u043c\u043a\u0441, \u043a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0432\u0445\u043e\u0434\u0435 D8 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u043e\u0433. 0 (\u0441\u0438\u0433\u043d\u0430\u043b \u0441 \u0418\u041a \u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d), \u0442\u0430\u0439\u043c\u0435\u0440 \u043c\u0435\u043d\u044f\u0435\u0442 \u043f\u0435\u0440\u0438\u043e\u0434 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u0441 200 \u043c\u043a\u0441 \u043d\u0430 562,5 \u043c\u043a\u0441, \u0447\u0442\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u0443 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 NEC. \u0422\u0430\u043a \u043a\u0430\u043a \u043f\u0430\u0443\u0437\u0430 \u043c\u0435\u0436\u0434\u0443 \u0438\u043c\u043f\u0443\u043b\u044c\u0441\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u0440\u0430\u0442\u043d\u0430 562,5 \u043c\u043a\u0441, \u0442\u043e \u0438\u043c\u043f\u0443\u043b\u044c\u0441 \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e 562,5 \u043c\u043a\u0441 \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0435\u0434\u0438\u043d\u0438\u0446\u0430, \u0430 \u043f\u0430\u0443\u0437\u0430 \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c 562,5 \u043c\u043a\u0441 \u043a\u0430\u043a \u043d\u043e\u043b\u044c. \u041b\u043e\u0433. \u043d\u043e\u043b\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u043c\u043f\u0443\u043b\u044c\u0441 \u0438 \u043f\u0430\u0443\u0437\u0443 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0432 \u0442\u0440\u0438 \u0440\u0430\u0437\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438\u043c\u043f\u0443\u043b\u044c\u0441\u0430. \u043b\u043e\u0433. \u0435\u0434\u0438\u043d\u0438\u0446\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u043c\u043f\u0443\u043b\u044c\u0441 \u0438 \u043f\u0430\u0443\u0437\u0443 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0440\u0430\u0432\u043d\u0430 \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438\u043c\u043f\u0443\u043b\u044c\u0441\u0430.<\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u043c\u0430\u0441\u0441\u0438\u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 96 \u044f\u0447\u0435\u0435\u043a. \u0411\u0438\u0442 \u043d\u0443\u043b\u044f \u043a\u043e\u0434\u0430 \u043a\u043d\u043e\u043f\u043a\u0438 \u0418\u041a \u043f\u0443\u043b\u044c\u0442\u0430 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a 0b1000, \u0430 \u0431\u0438\u0442 \u0435\u0434\u0438\u043d\u0438\u0446\u044b \u043a\u0430\u043a 0b10, \u0432 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043c\u0430\u0441\u0441\u0438\u0432 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f 96 \u0431\u0438\u0442. \u0414\u0430\u043b\u0435\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0440\u0430\u0441\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 NEC.<\/p>\n<pre> <span style=\"color: #5e6d03;\">for<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #00979c;\">int<\/span> <span style=\"color: #000000;\">a<\/span><span style=\"color: #434f54;\">=<\/span><span style=\"color: #000000;\">0<\/span><span style=\"color: #000000;\">;<\/span><span style=\"color: #000000;\">a<\/span><span style=\"color: #434f54;\">&lt;<\/span><span style=\"color: #000000;\">96<\/span><span style=\"color: #000000;\">;<\/span><span style=\"color: #000000;\">a<\/span><span style=\"color: #434f54;\">++<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">{<\/span>\r\n \u00a0\u00a0<span style=\"color: #5e6d03;\">if<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">data<\/span><span style=\"color: #000000;\">[<\/span><span style=\"color: #000000;\">a<\/span><span style=\"color: #000000;\">]<\/span> <span style=\"color: #434f54;\">+<\/span> <span style=\"color: #000000;\">data<\/span><span style=\"color: #000000;\">[<\/span><span style=\"color: #000000;\">a<\/span><span style=\"color: #434f54;\">+<\/span><span style=\"color: #000000;\">2<\/span><span style=\"color: #000000;\">]<\/span> <span style=\"color: #434f54;\">==<\/span> <span style=\"color: #000000;\">2<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">{<\/span><span style=\"color: #000000;\">cod<\/span> <span style=\"color: #434f54;\">+=<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #00979c;\">uint32_t<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">0<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">31<\/span><span style=\"color: #434f54;\">-<\/span><span style=\"color: #000000;\">i2<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span><span style=\"color: #000000;\">i2<\/span><span style=\"color: #434f54;\">++<\/span><span style=\"color: #000000;\">;<\/span><span style=\"color: #000000;\">a<\/span><span style=\"color: #434f54;\">=<\/span><span style=\"color: #000000;\">a<\/span><span style=\"color: #434f54;\">+<\/span><span style=\"color: #000000;\">1<\/span><span style=\"color: #000000;\">;<\/span><span style=\"color: #000000;\">}<\/span>\r\n \u00a0\u00a0<span style=\"color: #5e6d03;\">if<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">data<\/span><span style=\"color: #000000;\">[<\/span><span style=\"color: #000000;\">a<\/span><span style=\"color: #000000;\">]<\/span> <span style=\"color: #434f54;\">+<\/span> <span style=\"color: #000000;\">data<\/span><span style=\"color: #000000;\">[<\/span><span style=\"color: #000000;\">a<\/span><span style=\"color: #434f54;\">+<\/span><span style=\"color: #000000;\">2<\/span><span style=\"color: #000000;\">]<\/span> <span style=\"color: #434f54;\">==<\/span> <span style=\"color: #000000;\">1<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">{<\/span><span style=\"color: #000000;\">cod<\/span> <span style=\"color: #434f54;\">+=<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #00979c;\">uint32_t<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">1<\/span> <span style=\"color: #434f54;\">&lt;&lt;<\/span> <span style=\"color: #000000;\">31<\/span><span style=\"color: #434f54;\">-<\/span><span style=\"color: #000000;\">i2<\/span><span style=\"color: #000000;\">)<\/span><span style=\"color: #000000;\">;<\/span><span style=\"color: #000000;\">i2<\/span><span style=\"color: #434f54;\">++<\/span><span style=\"color: #000000;\">;<\/span><span style=\"color: #000000;\">a<\/span><span style=\"color: #434f54;\">=<\/span><span style=\"color: #000000;\">a<\/span><span style=\"color: #434f54;\">+<\/span><span style=\"color: #000000;\">3<\/span><span style=\"color: #000000;\">;<\/span><span style=\"color: #000000;\">}<\/span><span style=\"color: #000000;\">}<\/span>\r\n<\/pre>\n<p>\u041f\u043e\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0432\u044b\u0448\u0435 \u043a\u043e\u0434 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 (96 \u0431\u0438\u0442) \u043d\u0430 32 \u0431\u0438\u0442\u0430 (4 \u0431\u0430\u0439\u0442\u0430 \u043f\u043e 8 \u0431\u0438\u0442) \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 NEC. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 10100010, \u043f\u0435\u0440\u0432\u044b\u0435 \u0434\u0432\u0430 \u0431\u0438\u0442\u0430 10, \u0430 \u0442\u0440\u0435\u0442\u0438\u0439 \u0431\u0438\u0442 1, \u0437\u043d\u0430\u0447\u0438\u0442 \u043f\u0435\u0440\u0432\u044b\u0435 \u0434\u0432\u0430 \u0431\u0438\u0442\u0430 \u043b\u043e\u0433 \u0435\u0434\u0438\u043d\u0438\u0446\u0430 (NEC), \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0441\u0434\u0432\u0438\u0433 \u043d\u0430 2 \u0431\u0438\u0442\u0430. \u041f\u043e\u0441\u043b\u0435 \u0441\u0434\u0432\u0438\u0433\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438\u043c\u0435\u0435\u0442 \u0432\u0438\u0434 &#8212; 100010, \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u0435\u0440\u0432\u044b\u0439 \u0431\u0438\u0442 1, \u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 000, \u0442\u043e \u044d\u0442\u043e \u043b\u043e\u0433 0 \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 NEC, \u0434\u0430\u043b\u0435\u0435 \u0441\u043d\u043e\u0432\u0430 \u0441\u0434\u0432\u0438\u0433, \u043d\u043e \u0443\u0436\u0435 \u043d\u0430 4 \u0431\u0438\u0442\u0430.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0440\u0430\u0441\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f IR() \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 32 \u0440\u0430\u0437\u0440\u044f\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043a\u043d\u043e\u043f\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u043c\u043e\u043d\u0438\u0442\u043e\u0440 \u043f\u043e\u0440\u0442\u0430 \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043a\u043d\u043e\u043f\u043a\u0438 \u043f\u0443\u043b\u044c\u0442\u0430. \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0441\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0438 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0440\u0430\u0431\u043e\u0442\u0430 \u0442\u0430\u0439\u043c\u0435\u0440\u0430 \u043f\u0440\u0438\u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0424\u043e\u0440\u043c\u0430\u0442 NEC, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0439 \u043e\u0434\u043d\u043e\u0438\u043c\u0435\u043d\u043d\u043e\u0439 \u044f\u043f\u043e\u043d\u0441\u043a\u043e\u0439 \u0444\u0438\u0440\u043c\u043e\u0439, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u043e \u0432\u0441\u0435\u0445 \u043f\u0443\u043b\u044c\u0442\u0430\u0445 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e\u0439 \u0431\u044b\u0442\u043e\u0432\u043e\u0439 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u0443\u0440\u043e\u0439. \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u043e\u0441\u043d\u043e\u0432\u0430\u043d \u043d\u0430 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0443\u0440\u043e\u0432\u043d\u0435\u0439 \u0434\u043b\u0438\u043d\u043e\u0439 \u043f\u0430\u0443\u0437\u044b, \u0442\u043e \u0435\u0441\u0442\u044c \u043d\u0430\u0447\u0430\u043b\u043e \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0431\u0438\u0442\u0430, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e \u0438\u043c\u043f\u0443\u043b\u044c\u0441\u043e\u043c \u0434\u043b\u0438\u043d\u043e\u0439 562,5 \u043c\u043a\u0441, \u0430 \u0434\u043b\u0438\u043d\u0430 \u043f\u0430\u0443\u0437\u044b, \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0437\u0430 \u0438\u043c\u043f\u0443\u043b\u044c\u0441\u043e\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435. \u0418\u043c\u043f\u0443\u043b\u044c\u0441 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043f\u0430\u0447\u043a\u0443 \u043d\u0430 \u043d\u0435\u0441\u0443\u0449\u0435\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u0435 38.222 \u043a\u0413\u0446. \u041b\u043e\u0433. 0 &#8212; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":104429,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[239,21],"tags":[],"class_list":["post-104427","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-21"],"views":5021,"_links":{"self":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/104427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=104427"}],"version-history":[{"count":9,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/104427\/revisions"}],"predecessor-version":[{"id":131247,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/104427\/revisions\/131247"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/media\/104429"}],"wp:attachment":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=104427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=104427"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=104427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}