{"id":268050,"date":"2015-11-12T11:28:02","date_gmt":"2015-11-12T08:28:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=268050"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=268050","title":{"rendered":"\u041c\u043e\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0439 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438"},"content":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ea9\/62e\/a6d\/ea962ea6d63c4af99f2a68e426d88fa5.jpg\" align=\"right\"\/>\u0414\u0430\u0432\u043d\u043e \u0447\u0438\u0442\u0430\u044e \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0430 \u0425\u0430\u0431\u0440\u0435 \u043e \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0439 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438, \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u043e, \u043d\u0430\u0434 \u0447\u0435\u043c \u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044e \u0443\u0436\u0435 \u0431\u043e\u043b\u0435\u0435 2 \u043b\u0435\u0442. \u0414\u043b\u044f \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043c\u043e\u0435\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0432\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435.<\/p>\n<p>  \u0422\u0440\u0438 \u0433\u043e\u0434\u0430 \u043d\u0430\u0437\u0430\u0434 \u043c\u044b \u0441 \u0441\u0435\u043c\u044c\u0435\u0439 \u043f\u0435\u0440\u0435\u0435\u0445\u0430\u043b\u0438 \u0432 \u043d\u043e\u0432\u0443\u044e \u0442\u0440\u0435\u0445\u043a\u043e\u043c\u043d\u0430\u0442\u043d\u0443\u044e \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0443 (67.5 \u043a\u0432.\u043c), \u0445\u043e\u0442\u044f \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0430 \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0441\u0442\u0430\u0440\u0430\u044f \u2014 \u0441\u0442\u0430\u043b\u0438\u043d\u043a\u0430, \u0434\u043e\u043c 1946 \u0433\u043e\u0434\u0430 \u043f\u043e\u0441\u0442\u0440\u043e\u0439\u043a\u0438. \u0410\u043b\u044e\u043c\u0438\u043d\u0438\u0435\u0432\u0430\u044f \u0434\u0432\u0443\u0445\u043f\u0440\u043e\u0432\u043e\u0434\u043d\u0430\u044f \u043f\u0440\u043e\u0432\u043e\u0434\u043a\u0430 \u0441 \u043a\u0443\u0441\u043a\u0430\u043c\u0438 \u043c\u0435\u0434\u043d\u043e\u0433\u043e \u043c\u043d\u043e\u0433\u043e\u0436\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u0430\u0431\u0435\u043b\u044f 1 \u043a\u0432.\u043c\u043c \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u0435\u0441\u0442\u0430\u0445. \u0420\u0435\u043c\u043e\u043d\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u043e\u044f\u043b \u043a\u0430\u043f\u0438\u0442\u0430\u043b\u044c\u043d\u044b\u0439, \u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0435\u0448\u0438\u043b \u0432\u0441\u0435 \u0441\u0430\u043c, \u0438 \u043d\u0430\u0447\u0430\u043b \u0441 \u043f\u043e\u043b\u043d\u043e\u0439 \u0437\u0430\u043c\u0435\u043d\u044b \u043f\u0440\u043e\u0432\u043e\u0434\u043a\u0438. \u0411\u044b\u043b\u043e \u043a\u0443\u043f\u043b\u0435\u043d\u043e 700\u043c \u0441\u0438\u043b\u043e\u0432\u043e\u0433\u043e \u043a\u0430\u0431\u0435\u043b\u044f \u043d\u0430 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u0435 \u0438 \u0440\u043e\u0437\u0435\u0442\u043a\u0438 1.5 \u0438 2.5 \u043a\u0432.\u043c\u043c, \u0431\u0443\u0445\u0442\u0430 \u0432\u0438\u0442\u043e\u0439 \u043f\u0430\u0440\u044b, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u0430\u043a\u0441\u0438\u0430\u043b\u0430 \u0434\u043b\u044f \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u0438\u043e\u043d\u043d\u044b\u0445 \u0430\u043d\u0442\u0435\u043d\u043d (\u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439). \u0417\u0430\u0447\u0435\u043c \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e \u0438 \u0447\u0442\u043e \u0438\u0437 \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u0448\u043b\u043e \u2014 \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041f\u0440\u043e\u0432\u043e\u0434\u043a\u0443 \u044f \u0440\u0435\u0448\u0438\u043b \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0443\u044e, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e: \u0431\u0435\u0437 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u043a\u043e\u0440\u043e\u0431\u043e\u043a, \u043e\u0442 \u043a\u0430\u0436\u0434\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u043a\u0430\u0431\u0435\u043b\u044c \u0438\u0434\u0435\u0442 \u0432 \u0449\u0438\u0442\u043e\u043a (\u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0440\u043e\u0437\u0435\u0442\u043e\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0432 \u0433\u0440\u0443\u043f\u043f\u0435 \u043f\u043e 2-3 \u0442\u043e\u0447\u043a\u0438, \u043a\u0430\u0431\u0435\u043b\u044c \u0438\u0434\u0435\u0442 \u0432 \u0449\u0438\u0442\u043e\u043a \u043e\u0442 \u043a\u0440\u0430\u0439\u043d\u0435\u0439, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u044b \u0448\u043b\u0435\u0439\u0444\u043e\u043c) \u2014 \u0442.\u0435. \u043e\u0442 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044f \u0441\u0432\u043e\u0439 \u043a\u0430\u0431\u0435\u043b\u044c \u0432 \u0449\u0438\u0442\u043e\u043a, \u043e\u0442 \u043a\u0430\u0436\u0434\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u044f \u2014 \u0441\u0432\u043e\u0439 \u043a\u0430\u0431\u0435\u043b\u044c \u0432 \u0449\u0438\u0442\u043e\u043a, \u043e\u043a\u043e\u043b\u043e \u0440\u043e\u0437\u0435\u0442\u043e\u043a \u043f\u043e \u043f\u0430\u0440\u0435 \u0442\u043e\u0447\u0435\u043a rj-45 \u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439. \u041a\u0430\u0431\u0435\u043b\u0435\u0439, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043c\u043d\u043e\u0433\u043e. \u0413\u0434\u0435-\u0442\u043e \u043e\u043d \u043f\u0440\u043e\u043b\u043e\u0436\u0435\u043d \u0432 \u043f\u043e\u043b\u0443 \u0441 \u0441\u043e\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0435\u043c \u0432\u0441\u0435\u0445 \u043d\u043e\u0440\u043c \u041f\u0423\u042d, \u043a\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u0434\u0435\u0442\u0441\u043a\u043e\u0439:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/09e\/071\/732\/09e0717328cb46a0b0df95701ac88122.jpg\"\/><\/p>\n<p>  \u0413\u0434\u0435-\u0442\u043e \u2014 \u043f\u043e \u043f\u043e\u0442\u043e\u043b\u043a\u0443, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u0438\u0434 \u043d\u0430 \u0434\u0432\u0435\u0440\u044c \u0441\u043f\u0430\u043b\u044c\u043d\u0438:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/f0f\/f50\/510\/f0ff505103224720825920b62b9da86c.jpg\"\/><\/p>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u0441\u0435 \u043a\u0430\u0431\u0435\u043b\u0438 \u0432 \u043a\u043e\u0440\u0438\u0434\u043e\u0440\u0435 \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u0433\u0434\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0449\u0438\u0442\u043e\u043a, \u0438 \u043a\u043e\u043c\u043c\u0443\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u043a\u0430\u043a \u0443\u0433\u043e\u0434\u043d\u043e. \u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043c\u0435\u043d\u044f\u0442\u044c \u0441\u0445\u0435\u043c\u0443 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u2014 \u044d\u0442\u043e \u043d\u0435 \u0437\u0430\u0439\u043c\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438 \u043d\u0435 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u043e\u0440\u0442\u0438\u0442\u044c \u0440\u0435\u043c\u043e\u043d\u0442. \u041d\u0443 \u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0440\u043e\u0437\u0435\u0442\u043e\u043a \u0431\u044b\u043b\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u043d\u0430 \u0432\u0441\u0435 \u0441\u043b\u0443\u0447\u0430\u0438 \u0436\u0438\u0437\u043d\u0438 \u2014 \u0432\u0441\u0435\u0433\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0430 90 \u0442\u043e\u0447\u0435\u043a \u043d\u0430 \u0432\u0441\u044e \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0443.<\/p>\n<p>  \u0412\u043e\u0442 \u0442\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u00ab\u0449\u0438\u0442\u043e\u043a\u00bb \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/1e4\/0bd\/131\/1e40bd1311d2412686170c0ae8619274.jpg\"\/><\/p>\n<p>  \u0416\u0443\u0442\u043a\u043e\u0435 \u0437\u0440\u0435\u043b\u0438\u0449\u0435, \u043e\u0434\u043d\u0430\u043a\u043e \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u0438 \u0432 \u0442\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435 \u044d\u0442\u043e\u0442 \u043c\u043e\u043d\u0441\u0442\u0440 \u0436\u0438\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u044f\u0446\u0435\u0432. \u0412 \u043e\u0434\u0438\u043d \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u0434\u0435\u043d\u044c \u0437\u0432\u0435\u0437\u0434\u044b \u0443\u0434\u0430\u0447\u043d\u043e \u0441\u043b\u043e\u0436\u0438\u043b\u0438\u0441\u044c \u0438 \u0432\u043e\u043b\u0435\u0432\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u0449\u0438\u0442\u043e\u043a \u0431\u044b\u043b \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u0430\u043d. \u0417\u0430\u043d\u044f\u043b\u043e \u044d\u0442\u043e 3 \u0434\u043d\u044f \u043d\u0430 \u0448\u0430\u0442\u043a\u043e\u0439 \u043b\u0435\u0441\u0442\u043d\u0438\u0446\u0435 \u043f\u043e\u0434 \u043f\u043e\u0442\u043e\u043b\u043a\u043e\u043c (\u0430 \u043f\u043e\u0442\u043e\u043b\u043a\u0438 \u0432 \u0441\u0442\u0430\u043b\u0438\u043d\u043a\u0435 3\u043c), \u043d\u043e \u043e\u043d\u043e \u0442\u043e\u0433\u043e \u0441\u0442\u043e\u0438\u043b\u043e. \u0412\u043e\u0442 \u043a\u0430\u043a \u0441\u0442\u0430\u043b \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0449\u0438\u0442\u043e\u043a \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/34b\/2e4\/1e9\/34b2e41e94a54217bad80ce53d2e0e45.jpg\"\/><\/p>\n<p>  \u0418 \u043e\u0431\u0449\u0438\u0439 \u0432\u0438\u0434:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/054\/e15\/85e\/054e1585eeb74b7ebe62e3fcd946e1a3.jpg\"\/><\/p>\n<p>  \u042d\u0442\u043e \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u0432\u0438\u0434 \u0449\u0438\u0442\u043a\u0430, \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0435\u0449\u0435 \u0423\u0417\u041e, \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u043e\u0432 \u0432 3 \u0440\u0430\u0437\u0430 \u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c \u043d\u0443\u0436\u043d\u043e, \u043d\u0435\u0442 \u0438\u043c\u043f\u0443\u043b\u044c\u0441\u043d\u044b\u0445 \u0440\u0435\u043b\u0435 \u2014 \u0437\u0430\u0442\u043e \u0435\u0441\u0442\u044c \u043d\u0435\u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0435 \u043b\u0438\u043d\u0438\u0438, \u0432\u0441\u0435 \u043a\u0430\u0431\u0435\u043b\u0438 \u0437\u0430\u0432\u0435\u0434\u0435\u043d\u044b \u043d\u0430 \u043a\u043b\u0435\u043c\u043c\u044b, \u0435\u0441\u0442\u044c \u0445\u043e\u0442\u044c \u043a\u0430\u043a\u0430\u044f-\u0442\u043e \u0441\u0435\u043b\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u043e\u0432.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c, \u043a\u043e\u0433\u0434\u0430 \u0443 \u0412\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e \u0442\u043e\u043c, \u0441 \u0447\u0435\u043c \u0438\u043c\u0435\u043d\u043d\u043e \u043c\u043d\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u043e\u044f\u043b\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u043a \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u00ab\u043c\u043e\u0437\u0433\u043e\u0432\u00bb \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u041d\u0435 \u043c\u0443\u0434\u0440\u0441\u0442\u0432\u0443\u044f \u043b\u0443\u043a\u0430\u0432\u043e, \u0437\u0430 \u043e\u0441\u043d\u043e\u0432\u0443 \u044f \u0432\u0437\u044f\u043b arduino, \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u0443\u0436\u0435 \u043b\u0435\u0436\u0430\u043b\u0438 \u043a\u0443\u043f\u043b\u0435\u043d\u043d\u044b\u0435 \u0437\u0430\u0434\u043e\u043b\u0433\u043e \u0434\u043e \u044d\u0442\u043e\u0433\u043e 2 \u043f\u043b\u0430\u0442\u044b freeduino, 2 ethernet-\u0448\u0438\u043b\u0434\u0430 \u0438 \u043e\u0434\u0438\u043d motor-\u0448\u0438\u043b\u0434. \u0422\u0430\u043a\u0436\u0435 \u0437\u0430\u043a\u0430\u0437\u0430\u043b \u0443 \u043a\u0438\u0442\u0430\u0439\u0446\u0435\u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0440\u0435\u043b\u0435 \u043f\u043e 4\u0448\u0442 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c. \u0418 \u0435\u0449\u0435 \u043d\u0430\u0448\u0435\u043b \u043f\u043e \u0441\u043e\u0432\u0435\u0442\u0443 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0441\u0442\u0430\u0442\u0435\u0439 \u043d\u0430 \u0425\u0430\u0431\u0440\u0435 \u0432 \u041e\u0431\u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0443\u0436\u0438\u043d\u043a\u0438 \u0438 \u043e\u043d\u0438 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u043b\u0438\u0441\u044c \u0432 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u0438 \u0431\u0435\u0437 \u0444\u0438\u043a\u0441\u0430\u0446\u0438\u0438. \u041d\u0430\u0441\u0442\u0430\u043b \u0447\u0435\u0440\u0435\u0434 \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434. <\/p>\n<p>  \u0412\u043e\u043e\u0431\u0449\u0435 \u044f \u043f\u043e \u0436\u0438\u0437\u043d\u0438 \u0442\u0435\u0441\u043d\u043e \u0441\u0432\u044f\u0437\u0430\u043d \u0441 \u043a\u043e\u043c\u043f\u0430\u043c\u0438. \u0417\u0430\u043a\u043e\u043d\u0447\u0438\u043b \u043c\u0435\u0445-\u043c\u0430\u0442, \u043d\u0430 \u0447\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435 \u043f\u0438\u0441\u0430\u043b \u2014 pascal, c#, c++, 1\u0441, php, javascript \u2014 \u043c\u043e\u0436\u043d\u043e \u0435\u0449\u0435 \u043c\u043d\u043e\u0433\u0433\u043e \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0442\u044c. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044e \u0432 \u0441\u0444\u0435\u0440\u0435 \u0432\u0435\u0431-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0442\u0430\u043a\u0436\u0435 \u0438\u043c\u0435\u044e \u0434\u0435\u043b\u043e \u0441 ip-\u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0438\u0435\u0439. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u2014 \u043f\u0440\u043e\u0441\u0442\u043e, \u0430 \u0432\u043e\u0442 \u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0438\u043a\u043e\u0439 \u00ab\u043d\u0430 \u0432\u044b\u00bb \u2014 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0432\u0435\u0449\u0438 \u0437\u043d\u0430\u044e \u0438 \u0443\u043c\u0435\u044e, \u0430 \u043a\u043e\u0433\u0434\u0430 \u0434\u0435\u043b\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0433\u043e-\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e \u2014 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b, \u0444\u044c\u044e\u0437\u044b, \u0434\u0440\u0435\u0431\u0435\u0437\u0433 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043e\u0432 \u2014 \u0441 \u044d\u0442\u0438\u043c \u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u041d\u043e \u043d\u0435 \u0431\u043e\u0433\u0438 \u0433\u043e\u0440\u0448\u043a\u0438 \u043e\u0431\u0436\u0438\u0433\u0430\u044e\u0442, \u0433\u043b\u0430\u0437\u0430 \u0431\u043e\u044f\u0442\u0441\u044f, \u0430 \u0440\u0443\u043a\u0438 \u0434\u0435\u043b\u0430\u044e\u0442. \u0420\u0435\u0448\u0438\u043b \u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0441\u0435 \u043f\u0440\u043e\u0441\u0442\u043e. \u041f\u043e\u0434\u0430\u044e \u043d\u0430 \u0432\u0445\u043e\u0434 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044f \u0437\u0435\u043c\u043b\u044e \u0441 \u0430\u0440\u0434\u0443\u0438\u043d\u044b, \u0432\u044b\u0445\u043e\u0434\u044b \u0441 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e \u043a \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u043c \u043f\u0438\u043d\u0430\u043c \u043d\u0430 \u0430\u0440\u0434\u0443\u0438\u043d\u0435 (\u0445\u043e\u0442\u044f \u043c\u043e\u0436\u043d\u043e \u0438 \u043a \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u043c, \u044d\u0442\u043e \u043d\u0435 \u0432\u0430\u0436\u043d\u043e). \u0421\u043e\u0435\u0434\u0438\u043d\u044f\u044e \u043f\u0438\u043d\u044b \u0430\u0440\u0434\u0443\u0438\u043d\u043e \u0441 \u043f\u0438\u043d\u0430\u043c\u0438 \u043d\u0430 \u043c\u043e\u0434\u0443\u043b\u0435 \u0440\u0435\u043b\u0435. \u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438 \u2014 \u0432\u0441\u0435 \u0433\u043e\u0442\u043e\u0432\u043e, \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043d\u0430 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c \u0430\u0440\u0434\u0443\u0438\u043d\u043e \u0432\u0438\u0434\u0438\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 LOW \u043d\u0430 \u043d\u0443\u0436\u043d\u043e\u043c \u043f\u0438\u043d\u0435 \u0438 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 LOW \u043d\u0430 \u043f\u0438\u043d\u0435, \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u043d\u043e\u043c \u0441 \u043c\u043e\u0434\u0443\u043b\u0435\u043c \u0440\u0435\u043b\u0435. \u0421 \u0443\u0447\u0435\u0442\u043e\u043c \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0432\u0441\u0435 \u043a\u0430\u0431\u0435\u043b\u0438 \u043e\u0442 \u0442\u043e\u0447\u0435\u043a \u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u043d\u0430 \u043a\u043b\u0435\u043c\u043c\u044b \u2014 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043d\u0435 \u0437\u0430\u043d\u044f\u043b\u043e \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. <br \/>  \u0414\u043b\u044f \u0431\u043e\u0440\u044c\u0431\u044b \u0441 \u0434\u0440\u0435\u0431\u0435\u0437\u0433\u043e\u043c \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043e\u0432, \u043f\u043e\u0441\u043b\u0435 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f \u0442\u0435\u043c\u044b \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435, \u0431\u044b\u043b\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 Bounce2. \u0412\u043e\u043e\u0431\u0449\u0435 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434, \u0447\u0442\u043e\u0431\u044b \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0445\u043e\u0442\u044c \u043d\u0430 2 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044f, \u0445\u043e\u0442\u044c \u043d\u0430 22. \u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043b\u0435\u0433\u043b\u0430 \u0432 \u043e\u0441\u043d\u043e\u0432\u0443 \u0432\u0441\u0435\u0433\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430. \u041d\u0443, \u0442\u0435\u043f\u0435\u0440\u044c \u043e\u0442 \u0441\u043b\u043e\u0432 \u2014 \u043a \u043a\u043e\u0434\u0443. \u042f \u043d\u0435 \u0431\u0443\u0434\u0443 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u043a\u043e\u0434, \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431 \u0431\u0443\u0434\u0443\u0442 \u0432 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0430\u0442\u044c\u0438. \u041f\u043e\u043a\u0430\u0436\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0436\u043d\u044b\u0435, \u0441 \u043c\u043e\u0435\u0439 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f, \u043c\u043e\u043c\u0435\u043d\u0442\u044b.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445:<\/p>\n<pre><code>#include &lt;Bounce2.h&gt; #include &lt;EEPROM.h&gt;  const byte cnt = 8; const byte pin_cnt = 19;  int pins[] = {11,12,13,13,14,15,16,17}; int leds[] = {6, 3, 4, 5, 3, 4, 5, 3};  byte init_leds[cnt] ; byte init_buttons[cnt]; int button_states[cnt]; Bounce debouncers[cnt]; unsigned long buttonPressTimeStamps[cnt]; boolean changed[cnt]; <\/code><\/pre>\n<p>  \u0421\u043c\u044b\u0441\u043b \u0432 \u0447\u0435\u043c: \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u0443 \u0441 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a\u043e\u0432\/\u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u044b \u043d\u043e\u0432\u044b\u0435 \u0430\u0441\u0441\u043e\u0446\u0438\u0430\u0446\u0438\u0438 \u2014 \u0438 \u0432\u0441\u0435, \u043d\u043e\u0432\u044b\u0439 \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a \u0438\u043b\u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c, \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043a\u043e\u0434\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0434\u043d\u0438\u043c \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u0435\u043c \u0441\u0440\u0430\u0437\u0443 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a\u0430\u043c\u0438. \u0418\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044f\u043c\u0438 \u0441\u0440\u0430\u0437\u0443 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u0434\u043d\u0438\u043c \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a\u043e\u043c. \u0422\u0430\u043a\u0436\u0435 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 Bounce \u0434\u043b\u044f \u0430\u043d\u0442\u0438\u0434\u0440\u0435\u0431\u0435\u0437\u0433\u0430.<\/p>\n<p>  \u0412 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 setup \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432\u0441\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u044b, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a\u043e\u0432 \u043c\u044b \u0445\u0440\u0430\u043d\u0438\u043c \u0432 \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u0441\u0431\u043e\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0432\u0441\u0435 \u0432\u043a\u043b\u044e\u0447\u0438\u043b\u043e\u0441\u044c \u0442\u0430\u043a \u0436\u0435, \u043a\u0430\u043a \u0431\u044b\u043b\u043e \u0434\u043e \u0441\u0431\u043e\u044f.<\/p>\n<pre><code>  for(byte i=0; i&lt;cnt; i=i+1) {     EEPROM.write(pins[i], 10);   }    for(byte i=0; i&lt;cnt; i=i+1) {     button_states[i] = 0;          byte value = EEPROM.read(leds[i]);     if(value==11) {       init_leds[i] = LOW ;     }else{       init_leds[i] = HIGH ;     }     init_buttons[i] = HIGH;     buttonPressTimeStamps[i] = 0;     changed[i] = false;      debouncers[i] = Bounce();      pinMode(pins[i], INPUT);     pinMode(leds[i], OUTPUT);          digitalWrite(pins[i], init_buttons[i]);     digitalWrite(leds[i], init_leds[i]);          debouncers[i].attach( pins[i] );     debouncers[i].interval(5);   } <\/code><\/pre>\n<p>  \u041f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0446\u0438\u043a\u043b\u0430 \u043f\u043e\u043a\u0430 \u043f\u0440\u043e\u043c\u043e\u043b\u0447\u0443, \u0432\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u043d\u0435\u043c\u0443 \u0447\u0443\u0442\u044c \u043f\u043e\u0437\u0436\u0435. \u0410 \u0441\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u0435\u043b\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0446\u0438\u043a\u043b\u0430. <\/p>\n<pre><code>void loop(){   for(byte i=0; i&lt;cnt; i=i+1){     byte dvalue = EEPROM.read(pins[i]);     if(dvalue!=11) {       changed[i] = debouncers[i].update();              if ( changed[i] ) {         int value = debouncers[i].read();         if ( value == HIGH) {          button_states[i] = 0;            } else {            if (i &gt; 0 and pins[i] == pins[i-1]) {              byte prev_value = EEPROM.read(leds[i-1]);                                           if(prev_value == 11) {                digitalWrite(leds[i], LOW );                EEPROM.write(leds[i], 11);              }else{                digitalWrite(leds[i], HIGH);                EEPROM.write(leds[i], 10);              }            } else {                             byte value = EEPROM.read(leds[i]);              if(value==11) {                digitalWrite(leds[i], HIGH );                EEPROM.write(leds[i], 10);              }else{                digitalWrite(leds[i], LOW);                EEPROM.write(leds[i], 11);              }            }                              button_states[i] = 1;            buttonPressTimeStamps[i] = millis();              }       }           if ( button_states[i] == 1 ) {         if ( millis() - buttonPressTimeStamps[i] &gt;= 200 ) {             button_states[i] = 2;         }       }     }   }    delay( 10 ); }  <\/code><\/pre>\n<p>  \u0412 \u0445\u043e\u0434\u0435 \u0438\u0441\u043f\u044b\u0442\u0430\u043d\u0438\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0435\u0440\u0432\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0431\u044b\u043b\u043e \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043e, \u0447\u0442\u043e \u0434\u0435\u0442\u044f\u043c (\u0430 \u0443 \u043c\u0435\u043d\u044f \u0438\u0445 \u0442\u0440\u043e\u0435, \u043f\u0430\u0446\u0430\u043d\u044b) \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c \u0449\u0435\u043b\u043a\u0430\u0442\u044c \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044f\u043c\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438\u043c\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u0438, \u0447\u0442\u043e\u0431\u044b \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043d\u0430 \u043d\u0438\u0445 \u043d\u0435 \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u043b. \u0421\u0430\u043c\u044b\u0439 \u043d\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u043d\u0438\u043c\u0430\u0442\u044c \u0438\u0437 \u043f\u043b\u0430\u0442\u044b \u043d\u0443\u0436\u043d\u044b\u0435 \u043f\u0438\u043d\u044b, \u043d\u043e \u044d\u0442\u043e \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0438 \u043d\u0435\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u044d\u043d\u0435\u0440\u0433\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u0443\u044e \u043f\u0430\u043c\u044f\u0442\u044c \u0442\u0430\u043a\u0436\u0435 \u043f\u0438\u0448\u0443\u0442\u0441\u044f \u0444\u043b\u0430\u0433\u0438, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c \u0438\u043b\u0438 \u043d\u0435\u0442. \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u0432\u043e\u0442 \u044d\u0442\u0438\u043c \u0446\u0438\u043a\u043b\u043e\u043c:<\/p>\n<pre><code>  for(byte i=0; i&lt;cnt; i=i+1) {     EEPROM.write(pins[i], 10);   }    ... <\/code><\/pre>\n<p>  \u0410 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u0432\u043e\u0442 \u0442\u0443\u0442:<\/p>\n<pre><code>  for(byte i=0; i&lt;cnt; i=i+1){     byte dvalue = EEPROM.read(pins[i]);     if(dvalue!=11) {     ... <\/code><\/pre>\n<p>  \u0423\u0436\u0435 \u043d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0441\u0442\u0430\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0432\u044b\u043a\u043b\u044e\u0447\u0442\u0435\u043b\u0438 \u043d\u0430 \u0441\u0442\u0435\u043d\u0430\u0445. \u041d\u043e \u0443\u043c\u043d\u044b\u0439 \u0434\u043e\u043c \u043d\u0435 \u0431\u044b\u043b \u0431\u044b \u0443\u043c\u043d\u044b\u043c \u0431\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u0422\u0430\u043a \u043a\u0430\u043a \u044f \u0438\u043c\u0435\u044e \u0434\u0435\u043b\u043e \u0441 \u0432\u0435\u0431-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439, \u0442\u043e \u0438 \u0440\u0435\u0448\u0435\u043d\u043e \u0431\u044b\u043b\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441. \u0422\u0443\u0442-\u0442\u043e \u0438 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u043b\u0438\u0441\u044c ethernet-\u0448\u0438\u043b\u0434\u044b. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u044f \u0442\u0430\u043a \u0438 \u043d\u0435 \u0441\u043c\u043e\u0433 \u043d\u0430\u0439\u0442\u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u043f\u0435\u0440\u0432\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0445 ethernet-\u0448\u0438\u043b\u0434\u044b \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u043f\u043e\u0438\u0441\u043a\u0430\u0442\u044c \u0432 \u0431\u0435\u043a\u0430\u043f\u0430\u0445, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043c \u043e\u043d\u0438 \u0435\u0441\u0442\u044c. \u041d\u043e \u0441\u043c\u044b\u0441\u043b \u0431\u044b\u043b \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u0435\u043d \u0434\u043e \u0431\u0435\u0437\u043e\u0431\u0440\u0430\u0437\u0438\u044f. \u041a\u0430\u0436\u0434\u043e\u043c\u0443 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0443 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u043b\u0441\u044f \u0441\u0432\u043e\u0439 IP-\u0430\u0434\u0440\u0435\u0441. \u041f\u043e\u0434\u043d\u0438\u043c\u0430\u043b\u0441\u044f \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 \u0430\u0440\u0434\u0443\u0438\u043d\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b GET-\u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0438 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043d\u043e\u043c\u0435\u0440\u0430 \u043f\u043e\u0440\u0442\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u043b-\u0432\u044b\u043a\u043b\u044e\u0447\u0430\u043b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a. \u041f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0442\u0430\u043a\u043e\u0433\u043e \u0440\u043e\u0434\u0430 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e. \u0414\u043b\u044f \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0431\u044b\u043b \u0441\u043e\u0431\u0440\u0430\u043d \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 \u043c\u0430\u0442\u0435\u0440\u0438\u043d\u0441\u043a\u043e\u0439 \u043f\u043b\u0430\u0442\u0435 \u0441 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u043c Intel Atom, \u0431\u044b\u043b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d Ubuntu Server 14.02, \u0443\u0441\u0442\u0432\u043d\u043e\u0432\u043b\u0435\u043d \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 LAMP, \u0442\u0430\u043c \u0436\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441. \u0412\u0441\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u0442\u0430\u043a\u0436\u0435 \u0431\u0443\u0434\u0443\u0442 \u0432 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0430\u0442\u044c\u0438. \u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043e\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/7ba\/5b2\/d4c\/7ba5b2d4c95c48f0ac3873cef3c76b23.jpg\"\/><\/p>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e, \u043e\u0434\u0438\u043d \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a \u043d\u0430 \u043a\u0443\u0445\u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d, \u0430 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u043d\u0435\u0433\u043e \u2014 \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043c\u0435\u0433\u0430-\u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043d\u0430 \u043d\u0443\u0436\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0438 \u0435\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f.<\/p>\n<p>  \u0418 \u0432\u0441\u0435 \u0431\u044b\u043b\u043e \u0431\u044b \u043e\u0442\u043b\u0438\u0447\u043d\u043e, \u0435\u0441\u043b\u0438 \u0431\u044b \u043d\u0435 \u043e\u0434\u043d\u043e \u00ab\u043d\u043e\u00bb. Ethernet-\u0448\u0438\u043b\u0434\u044b \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0437\u0430\u0432\u0438\u0441\u0430\u043b\u0438. \u041d\u0435\u0442, \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u0432\u0441\u0435\u0433\u0434\u0430 \u043a\u0430\u043a \u0447\u0430\u0441\u044b. \u041d\u043e \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043e\u0442\u0432\u0430\u043b\u0438\u0432\u0430\u043b\u043e\u0441\u044c. \u0415\u0441\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u0441\u0443\u0442\u043a\u0438 \u2014 \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u043e\u0442\u043b\u0438\u0447\u043d\u043e. \u041d\u043e \u0447\u0430\u0449\u0435 \u0448\u0438\u043b\u0434 \u043f\u043e\u0434\u0432\u0438\u0441\u0430\u043b \u0443\u0436\u0435 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u043e\u0432 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438. \u0427\u0442\u043e \u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u043b \u2014 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441 watch-dog, \u043d\u043e \u043c\u043e\u0438 \u043f\u043b\u0430\u0442\u044b \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u043b\u0438 \u0435\u0433\u043e. \u042f \u0437\u0430\u043a\u0430\u0437\u0430\u043b \u0432 \u041a\u0438\u0442\u0430\u0435 \u0438 \u0437\u0430\u043c\u0435\u043d\u0438\u043b \u0448\u0438\u043b\u0434\u044b \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u2014 \u043d\u0430 en28j60 \u2014 \u0441\u0442\u0430\u043b\u043e \u043b\u0443\u0447\u0448\u0435, \u043d\u043e \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043e\u043d\u0438 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0437\u0430\u0432\u0438\u0441\u0430\u043b\u0438. \u042f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043c\u043e\u0434\u0443\u043b\u044c \u0440\u0435\u043b\u0435, \u0437\u0430\u0432\u0435\u043b \u043f\u0438\u0442\u0430\u043d\u0438\u0435 \u043f\u043b\u0430\u0442 \u0430\u0440\u0434\u0443\u0438\u043d\u043e \u0447\u0435\u0440\u0435\u0437 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e-\u0437\u0430\u043c\u043a\u043d\u0443\u0442\u044b\u0435 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u044b \u043d\u0430 \u043d\u0435\u043c \u0438 \u043e\u0434\u043d\u0430 \u0438\u0437 \u043f\u043b\u0430\u0442 \u0430\u0440\u0434\u0443\u0438\u043d\u043e \u0441 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u043d\u043d\u043e\u0439 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u043d\u043e\u0441\u0442\u044c\u044e \u0434\u0435\u0440\u0433\u0430\u043b\u043e \u0440\u0435\u043b\u0435 \u0438 \u043f\u0438\u0442\u0430\u043d\u0438\u0435 \u043e\u0431\u0440\u044b\u0432\u0430\u043b\u043e\u0441\u044c, \u0430 \u043f\u043e\u0442\u043e\u043c \u0441\u0430\u043c\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u043b\u043e\u0441\u044c \u2014 \u043e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u043e \u0442\u043e\u0436\u0435 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e, \u0434\u0430 \u0438 \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043c\u0438\u0433\u0430\u043b \u0432\u0435\u0441\u043b\u044c \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0439 \u0441\u0432\u0435\u0442, \u043f\u0443\u0441\u0442\u044c \u043d\u0430 \u043f\u0430\u0440\u0443 \u0441\u0435\u043a\u0443\u043d\u0434, \u043d\u043e \u0442\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435. \u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043a \u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u043c\u0435\u043d\u0442\u0443:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ab0\/71d\/eb3\/ab071deb30a94677a261c5378a809124.jpg\"\/><\/p>\n<p>  \u0418 \u0442\u043e\u0433\u0434\u0430 \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043e\u0442 ethernet-\u0448\u0438\u043b\u0434\u043e\u0432. \u042f \u043d\u0430\u0447\u0430\u043b \u0438\u0441\u043a\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f. \u041f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0430\u0440\u0434\u0443\u0438\u043d\u044b \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0438 \u0441\u043b\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0447\u0435\u0440\u0435\u0437 Serial.read()\/Serial.print() \u2014 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u0447\u0435\u0440\u0435\u0437 \u0440\u0430\u0437, \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0442\u0430\u043a \u0438 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043f\u043b\u0430\u0442\u0430 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043b\u0430\u0441\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u043a \u043d\u0435\u0439 \u0448\u043b\u043e \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u0438\u0437 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u042f \u043c\u043d\u043e\u0433\u043e \u0447\u0438\u0442\u0430\u043b \u043e \u0442\u0430\u043a\u0438\u0445 \u043e\u0448\u0438\u0431\u043a\u0430\u0445, \u043f\u043e\u043d\u044f\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u044d\u0442\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043e \u0441 DTR, \u0433\u0434\u0435-\u0442\u043e \u043f\u0438\u0441\u0430\u043b\u0438 \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0440\u0442 \u0441 \u0434\u0443\u0440\u0433\u0438\u043c\u0438 \u0444\u043b\u0430\u0433\u0430\u043c\u0438, \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443 \u043c\u0435\u043d\u044f \u0442\u0430\u043a \u0438 \u043d\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438. \u0427\u0435\u0440\u0435\u0437 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043c\u043d\u0435 \u043f\u043e\u043f\u0430\u043b\u0430\u0441\u044c \u0441\u0442\u0430\u0442\u044c\u044f \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u0430 USBAsp \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043d\u0438\u043a USB-I2C. \u042f \u0440\u0435\u0448\u0438\u043b \u2014 \u0430 \u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u0438 \u043d\u0435\u0442? \u0417\u0430\u043a\u0430\u0437\u0430\u043b \u0443 \u043a\u0438\u0442\u0430\u0439\u0446\u0435\u0432 \u043f\u0430\u0440\u0443 \u0442\u0430\u043a\u0438\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u043e\u0432 \u2014 \u0438 \u0441\u0442\u0430\u043b \u0436\u0434\u0430\u0442\u044c. <\/p>\n<p>  \u0418 \u0432\u043e\u0442 \u043d\u0435\u0434\u0435\u043b\u044e \u043d\u0430\u0437\u0430\u0434 \u043f\u0440\u0438\u0435\u0445\u0430\u043b\u0430 \u043c\u043e\u044f \u043f\u043e\u0441\u044b\u043b\u043a\u0430. \u041e\u0434\u0438\u043d \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440 \u0431\u044b\u043b \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0448\u0438\u0442 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u043e\u0439 i2c tiny usb \u0438 \u044f \u0441\u043d\u043e\u0432\u0430 \u0441\u0435\u043b \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u0434. \u0422\u0443\u0442 \u043d\u0430\u0447\u0430\u043b\u0438 \u043f\u0440\u043e\u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430. \u041c\u0430\u0441\u0442\u0435\u0440\u043e\u043c \u0431\u044b\u043b \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 \u0441\u0435\u0440\u0432\u0435\u0440, \u0430 \u0432\u0441\u0435 \u043f\u043b\u0430\u0442\u044b \u0430\u0440\u0434\u0443\u0438\u043d\u043e \u2014 \u0441\u043b\u0435\u0439\u0432\u0430\u043c\u0438. <\/p>\n<p>  \u041a\u043e\u0434 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u043b \u0440\u0435\u0448\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438:<\/p>\n<p>   \u2014 \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u0442\u0430;<br \/>   \u2014 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u0442\u0430;<br \/>   \u2014 \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0438\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a\u0438.<\/p>\n<p>  \u0418 \u044f \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439. \u042f \u043c\u043e\u0433\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438\u0437 \u043d\u0430\u0431\u043e\u0440 i2c-tools \u0434\u043b\u044f \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441 \u043f\u043b\u0430\u0442\u0430\u043c\u0438 \u0430\u0440\u0434\u0443\u0438\u043d\u043e. \u042d\u0442\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0430<\/p>\n<pre><code class=\"bash\">i2cget -y &lt;\u043d\u043e\u043c\u0435\u0440 \u0448\u0438\u043d\u044b&gt; &lt;\u0430\u0434\u0440\u0435\u0441&gt; <\/code><\/pre>\n<p>  \u0438<\/p>\n<pre><code class=\"bash\">i2cset -y &lt;\u043d\u043e\u043c\u0435\u0440 \u0448\u0438\u043d\u044b&gt; &lt;\u0430\u0434\u0440\u0435\u0441&gt; 0x00 &lt;byte \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435&gt; <\/code><\/pre>\n<p>  \u0412\u0440\u043e\u0434\u0435 \u043a\u0430\u043a, \u0441\u0443\u0434\u044f \u043f\u043e \u043c\u0430\u043d\u0430\u043c, \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 word, \u043d\u043e \u0443 \u043c\u0435\u043d\u044f \u044d\u0442\u043e \u043d\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e, \u043b\u0438\u0431\u043e \u044f \u0433\u0434\u0435-\u0442\u043e \u043e\u0448\u0438\u0431\u0430\u043b\u0441\u044f.<\/p>\n<p>  \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e, \u0432\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0435\u0441\u043b\u0438 \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u043e\u0440\u0442\u0430, \u0442\u043e \u044f \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u043e\u043c\u0435\u0440 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0435\u0439 \u0437\u0430 \u044d\u0442\u0443 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e, \u0430 \u043f\u043e\u0442\u043e\u043c \u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0440\u0442\u0430. \u042f \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c 2 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0430 \u0432 \u043a\u043e\u0434\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0438\u0445 \u043f\u043e-\u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u2014 \u043d\u043e \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u043d\u0435\u043a\u0440\u0430\u0441\u0438\u0432\u043e \u0438 \u043d\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e.<\/p>\n<p>  \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043d\u043e\u043c\u0435\u0440 \u0434\u0432\u0430 \u2014 \u0430\u0440\u0434\u0443\u0438\u043d\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0447\u0442\u043e-\u0442\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u0432 \u043c\u043e\u043c\u0435\u043d\u0442, \u043a\u043e\u0433\u0434\u0430 \u0441\u0430\u043c\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435. \u0415\u0441\u0442\u044c \u0434\u0432\u0430 \u043c\u0435\u0442\u043e\u0434\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Wire \u2014 onReceive(), \u043a\u043e\u0433\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u044b \u043e\u0442 \u043c\u0430\u0441\u0442\u0435\u0440\u0430 \u0438 onRequest(), \u043a\u043e\u0433\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0435 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u044b \u043c\u0430\u0441\u0442\u0435\u0440\u043e\u043c. <\/p>\n<p>  \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0442\u0430\u043a: \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 \u0438\u043c\u0435\u0435\u0442 6 \u043a\u043e\u043c\u0430\u043d\u0434:<\/p>\n<ul>\n<li>\u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u00ab1\u00bb \u2014 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a\u043e\u0432<\/li>\n<li>\u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u00ab2\u00bb \u2014 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 \u0432\u0441\u0435\u0445 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u0435\u0439<\/li>\n<li>\u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u00ab5\u00bb \u2014 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0435\u0441\u044c \u0441\u0432\u0435\u0442<\/li>\n<li>\u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u00ab6\u00bb \u2014 \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0435\u0441\u044c \u0441\u0432\u0435\u0442<\/li>\n<\/ul>\n<p>  \u043a\u043e\u043c\u0430\u043d\u0434\u0430, \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u044e\u0449\u0430\u044f\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c: \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0432\u0438\u0434\u0430 &lt;\u0441\u043e\u0442\u043d\u0438 (1 \u0438\u043b\u0438 2) \u2014 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a \u0438\u043b\u0438 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0443 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044f&gt;&lt;\u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0440\u0442\u0430 (\u043e\u0442 0 \u0434\u043e 99)&gt;; \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, 105 \u2014 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c 5 \u043f\u043e\u0440\u0442, 213 \u2014 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0443 13 \u043f\u043e\u0440\u0442\u0430. \u042d\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0432 hex \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0430\u0440\u0434\u0443\u0438\u043d\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c.<\/p>\n<p>  \u0412\u043e\u0442 \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0441\u0435\u0440\u0432\u0435\u0440\u0430:<\/p>\n<pre><code class=\"php\">  ...   if ($action == 3)      $val_hex = dechex(intval($port) + 100);   else      $val_hex = dechex(intval($port) + 200);      exec(&quot;sudo i2cset -y 7 $addr 0x00 0x$val_hex&quot;, $output);   ... <\/code><\/pre>\n<p>  \u0418 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0430\u0440\u0434\u0443\u0438\u043d\u043e:<\/p>\n<pre><code>void receiveEvent(int howMany) {   byte bytes = Wire.available();   int x = 0;   for (byte i=1; i &lt;= bytes; i=i+1) {     x = Wire.read();   }      if (x == 1 or x == 2 or x == 5 or x == 6) {     do_action(x, 0);   } else {     if ( x &gt; 200) {       do_action (4, x - 200);     } else {       do_action (3, x - 100);     }   }   } <\/code><\/pre>\n<p>  \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u043d\u043e, \u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0412\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0440\u0435\u0448\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c. \u0412\u043e\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044f do_action:<\/p>\n<pre><code>void do_action(byte command, byte port) {   byte value = 0;   byte dvalue = 0;   switch (command) {     case 1:       start_request = true;       request_type = 1;       current_port = 0;              break;     case 2:       start_request = true;       request_type = 2;       current_port = 0;              break;     case 3:       value = EEPROM.read(port);       if(value==11) {         digitalWrite(port, HIGH);         EEPROM.write(port, 10);       } else {         digitalWrite(port, LOW);         EEPROM.write(port, 11);       }              break;     case 4:       dvalue = EEPROM.read(port);       if(dvalue==11) {         EEPROM.write(port, 10);       } else {         EEPROM.write(port, 11);       }              break;     case 5:       for (byte i=0; i&lt;cnt; i = i + 1) {         digitalWrite(leds[i], LOW);         EEPROM.write(leds[i], 11);       }              break;     case 6:       for (byte i=0; i&lt;cnt; i = i + 1) {         digitalWrite(leds[i], HIGH);         EEPROM.write(leds[i], 10);       }              break;     default:            break;   } } <\/code><\/pre>\n<p>  \u0421 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438 3-6 \u0432\u0441\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0430 \u0432\u043e\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u044b 1 \u0438\u043b\u0438 2 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e. \u0421\u0435\u0440\u0432\u0435\u0440 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0443\u0436\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443, \u0438 \u043a\u043e\u0433\u0434\u0430 \u0430\u0440\u0434\u0443\u0438\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 1 \u0438\u043b\u0438 2, \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0444\u043b\u0430\u0433\u043e\u0432:<\/p>\n<pre><code>  start_request = true;   request_type = 1;   current_port = 0; <\/code><\/pre>\n<p>  \u0418 \u043f\u043e\u0442\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u043f\u043e\u0441\u044b\u043b\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a \u0430\u0440\u0434\u0443\u0438\u043d\u043e \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0440\u0442\u043e\u0432 \u0445\u043e\u0447\u0435\u0442 \u043e\u043f\u0440\u043e\u0441\u0438\u0442\u044c. \u041d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430:<\/p>\n<pre><code class=\"php\">function get_data($address, $action, $cnt) { \texec(&quot;sudo i2cset -y 7 $address 0x00 0x0$action&quot;, $output); \t$tmp = @$output[0]; \twhile (strpos($tmp,&quot;rror&quot;)!==false) { \t\texec(&quot;sudo i2cset -y 7 $address 0x00 0x0$action&quot;, $output); \t\t$tmp = @$output[0]; \t} \t$str = &quot;&quot;; \tfor ($i = 1; $i &lt;= $cnt; $i++) { \t\texec(&quot;sudo i2cget -y 7 $address&quot;, $output); \t\t$tmp = @$output[0]; \t\twhile (strpos($tmp,&quot;rror&quot;)!==false) { \t\t\texec(&quot;sudo i2cget -y 7 $address&quot;, $output); \t\t\t$tmp = @$output[0]; \t\t} \t\tif ($tmp) { \t\t\tif (strpos($tmp,&quot;1&quot;)!==false) \t\t\t\t$str .= &quot;1&quot;; \t\t\telse \t\t\t\t$str .= &quot;0&quot;; \t\t} \t\tunset($output); \t\tunset($tmp); \t} \t\t\t \treturn $str; }  $str = array(); $c = 1; while ($c &lt;= $tryes) { \t$tmp = get_data($addr, $action, $cnt); \t \tif (strlen($tmp) == $cnt) \t\t$str[] = $tmp; \t \t$c++; }  $new_array = array_count_values($str);  asort($new_array);  $res = &quot;&quot;; $max = 0; foreach ($new_array AS $key=&gt;$val) { \tif ($val &gt;= $max) { \t\t$res = $key; \t\t$max = $val; \t} }  return preg_split('\/\/', $res, -1, PREG_SPLIT_NO_EMPTY); <\/code><\/pre>\n<p>  \u0412 \u0434\u0432\u0443\u0445 \u0441\u043b\u043e\u0432\u0430\u0445 \u2014 \u043c\u044b \u0434\u0435\u043b\u0430\u0435\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e ($tryes &gt; 3) \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u043e\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0430\u0440\u0434\u0443\u0438\u043d\u043e, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0443, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0443\u044e \u0438\u0437 0 \u0438\u043b\u0438 1. \u0412\u0435\u0437\u0434\u0435 \u043f\u0440\u0438 \u043b\u044e\u0431\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u043c\u044b \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043e\u0442\u0432\u0435\u0442, \u0435\u0441\u043b\u0438 \u0442\u0430\u043c \u0435\u0441\u0442\u044c \u0441\u043b\u043e\u0432\u043e Error \u2014 \u0437\u043d\u0430\u0447\u0438\u0442 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0435 \u0431\u044b\u043b\u0438 \u043e\u0448\u0438\u0431\u043a\u0438 \u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443. \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0434\u043b\u044f \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438, \u043c\u0430\u0441\u0441\u0438\u0432 \u0441\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u0430\u043c \u043c\u0435\u0442\u043e\u0434\u043e\u043c array_count_values($str); \u0438 \u0432 \u0438\u0442\u043e\u0433\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043c\u0430\u0441\u0441\u0438\u0432 \u0441 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0432\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0439 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u0441\u0442\u0440\u043e\u043a, \u0432\u044b\u0434\u0430\u0435\u043c \u0442\u0443 \u0441\u0442\u0440\u043e\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0440\u0430\u0437 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043e\u0442 \u0430\u0440\u0434\u0443\u0438\u043d\u043e.<\/p>\n<p>  \u0421\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0430\u0440\u0434\u0443\u0438\u043d\u043e \u0432\u0441\u0435 \u043f\u0440\u043e\u0449\u0435:<\/p>\n<pre><code>void requestEvent() {   if (request_type == 1) {     byte value = EEPROM.read(leds[current_port]);     if(value==11) {       Wire.write(1);     } else {       Wire.write(0);     }          current_port = current_port + 1;   } else if (request_type == 2) {     byte dvalue = EEPROM.read(pins[current_port]);     if(dvalue==11) {       Wire.write(1);     } else {       Wire.write(0);     }      current_port = current_port + 1;   } } <\/code><\/pre>\n<p>  \u0412 \u043a\u043e\u0434\u0435 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0438 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f:<\/p>\n<pre><code class=\"html\">&lt;a class=&quot;lamp living_room&quot; id=&quot;lamp0x4d3&quot; rel='0x4d' onclick=&quot;lamp_click('0x4d',this.id, 3);&quot; &gt;&lt;\/a&gt; &lt;a class=&quot;lamp kitchen&quot; id=&quot;lamp0x4d4&quot; rel='0x4d' onclick=&quot;lamp_click('0x4d',this.id, 4);&quot; &gt;&lt;\/a&gt; &lt;a class=&quot;lamp children_main&quot; id=&quot;lamp0x4d5&quot; rel='0x4d' onclick=&quot;lamp_click('0x4d',this.id, 5);&quot; &gt;&lt;\/a&gt; &lt;a class=&quot;lamp children_second&quot; id=&quot;lamp0x4d6&quot; rel='0x4d' onclick=&quot;lamp_click('0x4d',this.id, 6);&quot; &gt;&lt;\/a&gt; &lt;a class=&quot;lamp sleeproom_main&quot; id=&quot;lamp0x423&quot; rel='0x42' onclick=&quot;lamp_click('0x42',this.id, 3);&quot; &gt;&lt;\/a&gt; &lt;a class=&quot;lamp sleeproom_lyuda&quot; id=&quot;lamp0x424&quot; rel='0x42' onclick=&quot;lamp_click('0x42',this.id, 4);&quot; &gt;&lt;\/a&gt; &lt;a class=&quot;lamp sleeproom_anton&quot; id=&quot;lamp0x425&quot; rel='0x42' onclick=&quot;lamp_click('0x42',this.id, 5);&quot; &gt;&lt;\/a&gt;  &lt;a class=&quot;button button_living_room&quot; id=&quot;button0x4d15&quot; onclick=&quot;button_click('0x4d',this.id, 15);&quot; &gt;&lt;\/a&gt; &lt;a class=&quot;button button_kitchen&quot; id=&quot;button0x4d14&quot; onclick=&quot;button_click('0x4d',this.id, 14);&quot; &gt;&lt;\/a&gt; &lt;a class=&quot;button button_children_main&quot; id=&quot;button0x4d16&quot; onclick=&quot;button_click('0x4d',this.id, 16);&quot; &gt;&lt;\/a&gt; &lt;a class=&quot;button button_children_second&quot; id=&quot;button0x4d17&quot; onclick=&quot;button_click('0x4d',this.id, 17);&quot; &gt;&lt;\/a&gt; &lt;a class=&quot;button button_sleeproom_door1&quot; id=&quot;button0x4212&quot; onclick=&quot;button_click('0x42',this.id, 12);&quot; &gt;&lt;\/a&gt; &lt;a class=&quot;button button_sleeproom_door2&quot; id=&quot;button0x4213&quot; onclick=&quot;button_click('0x42',this.id, 13);&quot; &gt;&lt;\/a&gt; &lt;a class=&quot;button button_sleeproom_lyuda1&quot; id=&quot;button0x4214&quot; onclick=&quot;button_click('0x42',this.id, 14);&quot; &gt;&lt;\/a&gt; &lt;a class=&quot;button button_sleeproom_lyuda2&quot; id=&quot;button0x4215&quot; onclick=&quot;button_click('0x42',this.id, 15);&quot; &gt;&lt;\/a&gt; &lt;a class=&quot;button button_sleeproom_anton1&quot; id=&quot;button0x4216&quot; onclick=&quot;button_click('0x42',this.id, 16);&quot; &gt;&lt;\/a&gt; &lt;a class=&quot;button button_sleeproom_anton2&quot; id=&quot;button0x4217&quot; onclick=&quot;button_click('0x42',this.id, 17);&quot; &gt;&lt;\/a&gt; <\/code><\/pre>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u044f \u044f\u0432\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e \u0430\u0434\u0440\u0435\u0441 \u043f\u043b\u0430\u0442\u044b, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u0438 \u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0440\u0442\u0430.<\/p>\n<p>  \u0410\u0445 \u0434\u0430, \u0432\u043e\u0442 \u0442\u0430\u043a \u0441\u0435\u0439\u0447\u0430\u0441 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/05d\/20e\/6f0\/05d20e6f0e8747bc940f202e2606fd2a.jpg\"\/><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0432\u0441\u0435 \u0431\u044b\u043b\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u043d\u0430 \u043c\u0435\u0441\u0442\u043e, \u0432\u0441\u0435 \u0437\u0430\u0432\u0435\u043b\u043e\u0441\u044c \u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0440\u0430\u0437\u0430. \u0410 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0434\u0435\u043d\u044c \u0432\u043e\u0437\u043d\u0438\u043a \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 \u044d\u0444\u0444\u0435\u043a\u0442 \u2014 \u0435\u0441\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a\u0438 \u0432 \u0441\u043f\u0430\u043b\u044c\u043d\u0435, \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u043c\u043e\u0440\u0433\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u0441\u0432\u0435\u0442 \u0432 \u0441\u043f\u0430\u043b\u044c\u043d\u0435 \u0441 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u043d\u043e\u0441\u0442\u044c\u044e \u0440\u0430\u0437 \u0432 2-3 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u042f \u043f\u0440\u043e\u0441\u0438\u0434\u0435\u043b \u0432\u0441\u044e \u043d\u043e\u0447\u044c, \u043a\u043e\u0432\u044b\u0440\u044f\u044f \u043a\u043e\u0434, \u043d\u0430 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u043c \u0441\u0442\u0435\u043d\u0434\u0435 \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043e\u0441\u044f\u043a\u0430 \u043d\u0435 \u0431\u044b\u043b\u043e, \u0437\u043d\u0430\u0447\u0438\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043d\u0435 \u0432 \u043a\u043e\u0434\u0435. \u041f\u0435\u0440\u0435\u0440\u044b\u043b \u043a\u0443\u0447\u0443 \u0444\u043e\u0440\u0443\u043c\u043e\u0432, \u0432 \u0442\u043e\u0433\u0435 \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043d\u0438\u0445 \u043d\u0430\u0448\u0435\u043b \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u043e\u0445\u043e\u0436\u0435\u0433\u043e \u0441\u0438\u043c\u043f\u0442\u043e\u043c\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u0434\u043e\u0433\u0430\u0434\u043a\u0443 \u2014 \u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0438\u0441\u0447\u0435\u0437\u043b\u0430. \u0410 \u0432\u0441\u0435 \u0434\u0435\u043b\u043e \u0431\u044b\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u044f \u043f\u0438\u0442\u0430\u043b \u0432\u0441\u0435 \u0442\u0440\u0438 \u0430\u0440\u0434\u0443\u0438\u043d\u044b \u043e\u0442 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430 \u043f\u0438\u0442\u0430\u043d\u0438\u044f, 12\u0412, \u0438 \u0441\u0442\u0430\u0440\u0435\u043d\u044c\u043a\u0438\u0435 freeduino \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e \u043a\u0443\u0448\u0430\u043b\u0438 \u0438 \u043d\u0435 \u0436\u0443\u0436\u0436\u0430\u043b\u0438, \u0430 arduino uno v3 \u2014 \u043d\u0435 \u043c\u043e\u0433\u043b\u0430, \u0438 \u043f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0432\u0441\u0435\u0445 \u0440\u0435\u043b\u0435\u0448\u0435\u043a \u0443 \u043d\u0435\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043d\u0430\u0433\u0440\u0435\u0432\u0430\u043b\u0441\u044f \u0442\u0430\u043a, \u0447\u0442\u043e \u043f\u0440\u0438\u043a\u043e\u0441\u043d\u0443\u0442\u044c\u0441\u044f \u043d\u0435\u043b\u044c\u0437\u044f \u0431\u044b\u043b\u043e. \u0423\u043c\u0435\u043d\u044c\u0448\u0438\u043b \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u0434\u043e 5\u0412 2\u0410 \u2014 \u0438 \u0432\u0441\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043a\u0430\u043a \u043d\u0430\u0434\u043e.<\/p>\n<p>  \u041f\u043b\u0430\u043d\u043e\u0432 \u0433\u0440\u043e\u043c\u0430\u0434\u044c\u0435, \u043d\u0430\u0434\u043e \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0442\u044c \u0440\u0435\u043c\u043e\u043d\u0442 \u0432 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0435, \u043d\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u043a\u043e\u0440\u0438\u0434\u043e\u0440 \u0438 \u0432\u0430\u043d\u043d\u0430\u044f \u0441 \u0442\u0443\u0430\u043b\u0435\u0442\u043e\u043c, \u0432 \u043c\u0435\u0447\u0442\u0430\u0445 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u043e\u0434\u043e\u043d\u0430\u0433\u0440\u0435\u0432\u0430\u0442\u0435\u043b\u0435\u043c \u0438 \u043a\u0430\u0436\u0434\u043e\u0439 \u0440\u043e\u0437\u0435\u0442\u043a\u043e\u0439, \u0431\u043b\u0430\u0433\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430 \u0448\u0438\u043d\u0443 I2C \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0432\u0435\u0441\u0438\u0442\u044c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u0433\u043e\u0434\u043d\u043e \u0430\u0440\u0434\u0443\u0438\u043d \u0438 \u043a\u0430\u0436\u0434\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u0434\u0435\u043b\u043e\u043c. \u0422\u0430\u043a\u0436\u0435 \u0432 \u043f\u043b\u0430\u043d\u0430\u0445 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0438\u043c\u043f\u0443\u043b\u044c\u0441\u043d\u044b\u0435 \u0440\u0435\u043b\u0435 \u043d\u0430 din-\u0440\u0435\u0439\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0434\u0443\u043b\u0438 \u0440\u0435\u043b\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u043b\u0438 \u044d\u0442\u0438\u043c\u0438 \u0438\u043c\u043f\u0443\u043b\u044c\u0441\u043d\u044b\u043c\u0438 \u0440\u0435\u043b\u0435, \u0430 \u0443\u0436\u0435 \u0432\u0441\u044f \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0448\u043b\u0430 \u0447\u0435\u0440\u0435\u0437 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445. \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u044b\u0435 \u0441\u043e\u043c\u043d\u0435\u043d\u0438\u044f \u0432 \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0441\u0442\u0438 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0440\u0435\u043b\u0435. \u041d\u043e \u044d\u0442\u043e \u0432\u0441\u0435 \u2014 \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c. <\/p>\n<p>  \u041a\u0430\u043a \u0438 \u043e\u0431\u0435\u0449\u0430\u043b, \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431:<\/p>\n<p>  <a href=\"https:\/\/github.com\/kanakhin\/web-interface\">\u0412\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441<\/a><br \/>  <a href=\"https:\/\/github.com\/kanakhin\/arduino\">\u0421\u043a\u0435\u0442\u0447\u0438 \u0434\u043b\u044f \u0430\u0440\u0434\u0443\u0438\u043d\u043e<\/a>       <\/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=\"http:\/\/geektimes.ru\/post\/265656\/\"> http:\/\/geektimes.ru\/post\/265656\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ea9\/62e\/a6d\/ea962ea6d63c4af99f2a68e426d88fa5.jpg\" align=\"right\"\/>\u0414\u0430\u0432\u043d\u043e \u0447\u0438\u0442\u0430\u044e \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0430 \u0425\u0430\u0431\u0440\u0435 \u043e \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0439 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438, \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u043e, \u043d\u0430\u0434 \u0447\u0435\u043c \u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044e \u0443\u0436\u0435 \u0431\u043e\u043b\u0435\u0435 2 \u043b\u0435\u0442. \u0414\u043b\u044f \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043c\u043e\u0435\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0432\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435.<\/p>\n<p>  \u0422\u0440\u0438 \u0433\u043e\u0434\u0430 \u043d\u0430\u0437\u0430\u0434 \u043c\u044b \u0441 \u0441\u0435\u043c\u044c\u0435\u0439 \u043f\u0435\u0440\u0435\u0435\u0445\u0430\u043b\u0438 \u0432 \u043d\u043e\u0432\u0443\u044e \u0442\u0440\u0435\u0445\u043a\u043e\u043c\u043d\u0430\u0442\u043d\u0443\u044e \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0443 (67.5 \u043a\u0432.\u043c), \u0445\u043e\u0442\u044f \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0430 \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0441\u0442\u0430\u0440\u0430\u044f \u2014 \u0441\u0442\u0430\u043b\u0438\u043d\u043a\u0430, \u0434\u043e\u043c 1946 \u0433\u043e\u0434\u0430 \u043f\u043e\u0441\u0442\u0440\u043e\u0439\u043a\u0438. \u0410\u043b\u044e\u043c\u0438\u043d\u0438\u0435\u0432\u0430\u044f \u0434\u0432\u0443\u0445\u043f\u0440\u043e\u0432\u043e\u0434\u043d\u0430\u044f \u043f\u0440\u043e\u0432\u043e\u0434\u043a\u0430 \u0441 \u043a\u0443\u0441\u043a\u0430\u043c\u0438 \u043c\u0435\u0434\u043d\u043e\u0433\u043e \u043c\u043d\u043e\u0433\u043e\u0436\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u0430\u0431\u0435\u043b\u044f 1 \u043a\u0432.\u043c\u043c \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u0435\u0441\u0442\u0430\u0445. \u0420\u0435\u043c\u043e\u043d\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u043e\u044f\u043b \u043a\u0430\u043f\u0438\u0442\u0430\u043b\u044c\u043d\u044b\u0439, \u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0435\u0448\u0438\u043b \u0432\u0441\u0435 \u0441\u0430\u043c, \u0438 \u043d\u0430\u0447\u0430\u043b \u0441 \u043f\u043e\u043b\u043d\u043e\u0439 \u0437\u0430\u043c\u0435\u043d\u044b \u043f\u0440\u043e\u0432\u043e\u0434\u043a\u0438. \u0411\u044b\u043b\u043e \u043a\u0443\u043f\u043b\u0435\u043d\u043e 700\u043c \u0441\u0438\u043b\u043e\u0432\u043e\u0433\u043e \u043a\u0430\u0431\u0435\u043b\u044f \u043d\u0430 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u0435 \u0438 \u0440\u043e\u0437\u0435\u0442\u043a\u0438 1.5 \u0438 2.5 \u043a\u0432.\u043c\u043c, \u0431\u0443\u0445\u0442\u0430 \u0432\u0438\u0442\u043e\u0439 \u043f\u0430\u0440\u044b, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u0430\u043a\u0441\u0438\u0430\u043b\u0430 \u0434\u043b\u044f \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u0438\u043e\u043d\u043d\u044b\u0445 \u0430\u043d\u0442\u0435\u043d\u043d (\u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439). \u0417\u0430\u0447\u0435\u043c \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e \u0438 \u0447\u0442\u043e \u0438\u0437 \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u0448\u043b\u043e \u2014 \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.  <\/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-268050","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/268050","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=268050"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/268050\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=268050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=268050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=268050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}