{"id":257505,"date":"2015-05-19T14:41:02","date_gmt":"2015-05-19T10:41:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=257505"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=257505","title":{"rendered":"\u041b\u0430\u043c\u043f\u0430-\u0440\u0430\u0434\u0443\u0433\u0430 \u0441\u0432\u043e\u0438\u043c\u0438 \u0440\u0443\u043a\u0430\u043c\u0438"},"content":{"rendered":"<p>             \u041f\u0440\u0438\u0432\u0435\u0442 \u0425\u0430\u0431\u0440!<\/p>\n<h2>\u041f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u0435<\/h2>\n<p>  \u0418\u0434\u0435\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043c\u043d\u043e\u0433\u043e\u0446\u0432\u0435\u0442\u043d\u043e\u0439 \u043b\u0430\u043c\u043f\u044b \u043f\u0440\u0438\u0448\u043b\u0430 \u043c\u043d\u0435 \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0443\u0432\u0438\u0434\u0435\u043b, \u043a\u0430\u043a\u043e\u0435 \u0437\u0430\u0432\u043e\u0440\u0430\u0436\u0438\u0432\u0430\u044e\u0449\u0435\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u043c\u0438\u0433\u0430\u044e\u0449\u0430\u044f \u0433\u0438\u0440\u043b\u044f\u043d\u0434\u0430 \u043d\u0430 \u043c\u043e\u0435\u0433\u043e \u043f\u043e\u043b\u0443\u0433\u043e\u0434\u043e\u0432\u0430\u043b\u043e\u0433\u043e \u0441\u044b\u043d\u0430. \u0417\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u0435\u0447\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435, \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0435\u0435 \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u2014 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u043e\u0447\u043d\u0438\u043a\u0430, \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0433\u0438\u0431\u043a\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0440\u0435\u0436\u0438\u043c\u043e\u0432 \u0438 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0434\u0438\u0441\u0442\u0430\u043d\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f. \u041d\u0443 \u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u043f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0434\u043b\u044f \u0440\u0435\u0431\u0435\u043d\u043a\u0430, \u0447\u0435\u043c \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0430\u044f \u0433\u0438\u0440\u043b\u044f\u043d\u0434\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/662\/49f\/03c\/66249f03c4424112933a38a0e42e702c.jpg\"\/><\/p>\n<p>  \u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u043f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0444\u043e\u0442\u043e.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>\u041f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0448\u0430\u0433\u0438<\/h2>\n<p>  \u0412\u044b\u0431\u043e\u0440 \u043f\u0430\u043b \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043d\u0430\u043f\u043e\u043b\u044c\u043d\u043e\u0439 \u043b\u0430\u043c\u043f\u044b-\u0442\u043e\u0440\u0448\u0435\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b \u0437\u0430 \u0441\u0447\u0435\u0442 \u043f\u0440\u0438\u0433\u043b\u0443\u0448\u0435\u043d\u0438\u044f \u0441\u0432\u0435\u0442\u0430 \u0430\u0431\u0430\u0436\u0443\u0440\u043e\u043c, \u043d\u0435 \u0441\u0432\u0435\u0442\u0438\u043b\u0430\u0441\u044c \u0431\u044b, \u043a\u0430\u043a \u043f\u0440\u043e\u0436\u0435\u043a\u0442\u043e\u0440 \u043d\u043e\u0447\u044c\u044e, \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u0430 \u0431\u044b \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430, \u0438 \u043c\u043e\u0433\u043b\u0430 \u0431\u044b \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0446\u0432\u0435\u0442\u043e\u0432 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e. \u041d\u0435\u0447\u0442\u043e \u043f\u043e\u0445\u043e\u0436\u0435\u0435 \u0443\u0436\u0435 \u0431\u044b\u043b\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043e \u0445\u0430\u0431\u0440\u0430\u0432\u0447\u0430\u043d\u0438\u043d\u043e\u043c \u2014 \u0442\u043e\u0433\u0434\u0430 \u044d\u0442\u043e \u0431\u044b\u043b\u0430 \u043b\u0430\u043c\u043f\u0430, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0430\u044f \u043f\u043e\u0433\u043e\u0434\u0443, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u0430\u044f \u043d\u0430 \u043c\u0430\u043b\u0438\u043d\u043a\u0435. \u0423 \u043c\u0435\u043d\u044f \u043d\u0435 \u0431\u044b\u043b\u043e \u0437\u0430\u0434\u0430\u0447\u0438 \u043b\u0430\u0437\u0430\u0442\u044c \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442, \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u00ab\u043f\u043e\u043c\u0438\u0433\u0430\u0442\u044c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u0430\u043c\u0438\u00bb, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u043e\u0437\u0433\u0430 \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u0432\u0437\u044f\u0442\u044c \u0410\u0440\u0434\u0443\u0438\u043d\u043a\u0443, \u0431\u043b\u0430\u0433\u043e \u0434\u043e\u043c\u0430 \u0437\u0430\u0432\u0430\u043b\u044f\u043b\u0430\u0441\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0435\u0435 \u0432\u0435\u0440\u0441\u0438\u044f \u041d\u0430\u043d\u043e, \u043a\u0443\u043f\u043b\u0435\u043d\u043d\u0430\u044f \u0443 \u0434\u044f\u0434\u0438 \u041b\u044f\u043e. \u0414\u043b\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u2014 \u0440\u0435\u0448\u0438\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u0439 bluetooth-\u043c\u043e\u0434\u0443\u043b\u044c Bolutek \u0437\u0430 \u043f\u0430\u0440\u0443 \u0432\u0435\u0447\u043d\u043e\u0437\u0435\u043b\u0435\u043d\u044b\u0445.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0432\u0441\u0442\u0430\u043b \u0432\u043e\u043f\u0440\u043e\u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043b\u0430\u043c\u043f\u044b. \u0420\u0435\u0448\u0435\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0435 \u0438\u0437\u043e\u0431\u0440\u0435\u0442\u0430\u0442\u044c \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434, \u0430 \u0432\u0437\u044f\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0439. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0441\u043d\u043e\u0432\u044b \u043f\u043e\u0434\u043e\u0448\u043b\u0430 \u043d\u0430\u043f\u043e\u043b\u044c\u043d\u0430\u044f \u043b\u0430\u043c\u043f\u0430-\u0442\u043e\u0440\u0448\u0435\u0440, \u0441 \u0431\u0443\u043c\u0430\u0436\u043d\u044b\u043c \u0430\u0431\u0430\u0436\u0443\u0440\u043e\u043c, \u043a\u0443\u043f\u043b\u0435\u043d\u043d\u0430\u044f \u0432 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0439 \u0418\u043a\u0435\u0435, \u0437\u0430 \u0432\u043f\u043e\u043b\u043d\u0435 \u0441\u0445\u043e\u0434\u043d\u044b\u0435 500 \u0440\u0443\u0431\u043b\u0435\u0439. \u0411\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e, \u0447\u0442\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u043d\u0430 \u0441\u0442\u0435\u0440\u0436\u043d\u0435 \u043a\u0430\u043a \u0440\u0430\u0437 \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043a\u0440\u0435\u043f\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043b\u043e\u0449\u0430\u0434\u043e\u043a \u0434\u043b\u044f \u043d\u0430\u043a\u043b\u0435\u0439\u043a\u0438 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043d\u043e\u0439 \u043b\u0435\u043d\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0430 \u0434\u043e\u0441\u0442\u043e\u0439\u043d\u043e\u0435 \u043f\u043e \u044f\u0440\u043a\u043e\u0441\u0442\u0438 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u0435. \u041b\u0435\u043d\u0442\u0443 \u0432\u0437\u044f\u043b \u0446\u0432\u0435\u0442\u043d\u0443\u044e, \u043c\u043e\u0434\u0435\u043b\u0438 5050, 60 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u0432 \u043d\u0430 \u043c\u0435\u0442\u0440, \u0431\u0435\u0437 \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u0430\u043c\u0438.<\/p>\n<p>  \u041f\u043b\u043e\u0449\u0430\u0434\u043a\u0438 \u0441\u0434\u0435\u043b\u0430\u043b \u0438\u0437 \u043c\u043e\u043d\u0442\u0430\u0436\u043d\u043e\u0439 \u043c\u0435\u0442\u0430\u043b\u043b\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043b\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f \u0442\u0435\u043f\u043b\u044b\u0445 \u043f\u043e\u043b\u043e\u0432 \u2014 \u043f\u0440\u043e\u0434\u0430\u0435\u0442\u0441\u044f \u0432\u043e \u0432\u0441\u0435\u0445 \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430\u0445. \u041a\u0430\u0442\u0443\u0448\u043a\u0438 \u043b\u0435\u043d\u0442\u044b 20\u043c \u0445\u0432\u0430\u0442\u0438\u043b\u043e \u0437\u0430 \u0433\u043b\u0430\u0437\u0430. \u0418\u0437 \u043b\u0435\u043d\u0442\u044b \u0441\u0432\u0435\u0440\u043d\u0443\u043b \u043a\u043e\u043b\u044c\u0446\u0430, \u0434\u0438\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 14\u0441\u043c, \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u0441\u0442\u0435\u0440\u0436\u043d\u0435 \u043b\u0430\u043c\u043f\u044b. \u041e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043a\u043e\u043b\u044c\u0446\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442 \u0440\u043e\u043b\u044c \u0442\u0435\u043f\u043b\u043e\u043e\u0442\u0432\u043e\u0434\u0430 \u2014 \u0442.\u043a. \u043b\u0435\u043d\u0442\u0430 \u0432\u0435\u0441\u044c\u043c\u0430 \u043e\u0449\u0443\u0442\u0438\u043c\u043e \u0433\u0440\u0435\u0435\u0442\u0441\u044f.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0441\u0442\u0430\u043b \u0434\u0443\u043c\u0430\u0442\u044c, \u043a\u0430\u043a \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0446\u0432\u0435\u0442\u043e\u043c \u0432\u0441\u0435\u0445 \u0443\u0440\u043e\u0432\u043d\u0435\u0439, \u0438\u043c\u0435\u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e PWM-\u0432\u044b\u0445\u043e\u0434\u043e\u0432 \u043d\u0430 \u0430\u0440\u0434\u0443\u0438\u043d\u043a\u0435. \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0440\u043e\u0432\u043d\u0435\u0439 \u0432\u044b\u0431\u0440\u0430\u043b 8, \u0442.\u043a. \u043f\u0440\u0438 \u0431\u043e\u043b\u044c\u0448\u0435\u043c \u043b\u0430\u043c\u043f\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0430 \u0441\u0433\u0438\u0431\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0434 \u0432\u0435\u0441\u043e\u043c \u043c\u0435\u0442\u0430\u043b\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u043b\u043e\u0449\u0430\u0434\u043e\u043a. \u0412\u0441\u0435 \u0436\u0435 \u0448\u0432\u0435\u0434\u0441\u043a\u0438\u0435 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u044b \u043d\u0435 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u043b\u0438, \u0447\u0442\u043e \u043d\u0430 \u0441\u0442\u0435\u0440\u0436\u0435\u043d\u044c \u043b\u0430\u043c\u043f\u044b \u0431\u0443\u0434\u0435\u0442 \u043a\u0440\u0435\u043f\u0438\u0442\u044c\u0441\u044f \u0435\u0449\u0435 \u0447\u0442\u043e-\u0442\u043e. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c 24-\u043c\u044f \u0432\u044b\u0445\u043e\u0434\u0430\u043c\u0438, \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043b\u0430\u0432\u043d\u043e\u0439 \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0438 \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u0438\u0445. \u041d\u0438 \u043e\u0434\u043d\u0430 \u0430\u0440\u0434\u0443\u0438\u043d\u0430 \u0441\u0442\u043e\u043b\u044c\u043a\u0438\u0445 \u0432\u044b\u0445\u043e\u0434\u043e\u0432 \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 (\u043c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0435\u0442 \u041c\u0435\u0433\u0430, \u043d\u043e \u0442\u0430\u043a\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u043d\u043e), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 ShiftPWM, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u0438\u0442 \u043b\u044e\u0431\u044b\u0435 \u0440\u0430\u0437\u0443\u043c\u043d\u044b\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u0443\u0440\u043e\u0432\u043d\u0435\u0439. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0435\u0434\u043e\u0440\u043e\u0433\u0438\u0445 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u043c\u0438\u043a\u0440\u0443\u0445 \u2014 \u0441\u0434\u0432\u0438\u0433\u043e\u0432\u043e\u0433\u043e \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 74hc595 \u0438 \u043a\u043b\u044e\u0447\u0435\u0439 uln2803 \u2014 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u043b \u043d\u0443\u0436\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0445 \u0432\u044b\u0445\u043e\u0434\u043e\u0432 \u0438 \u043d\u0443\u0436\u043d\u044b\u0439 \u0434\u043b\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043b\u0435\u043d\u0442 \u0442\u043e\u043a \u043d\u0430 \u043d\u0438\u0445.<\/p>\n<h2>\u0412\u043e\u043f\u043b\u043e\u0449\u0435\u043d\u0438\u0435<\/h2>\n<p>  \u041f\u0435\u0440\u0432\u043e-\u043d\u0430\u043f\u0435\u0440\u0432\u043e \u0438\u0437\u0433\u043e\u0442\u043e\u0432\u0438\u043b 8 \u043f\u043b\u043e\u0449\u0430\u0434\u043e\u043a \u0438\u0437 \u043c\u0435\u0442\u0430\u043b\u043b\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043b\u0435\u043d\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u0430\u043a\u0440\u0435\u043f\u0438\u043b \u043d\u0430 \u0441\u0442\u0435\u0440\u0436\u043d\u0435 \u043b\u0430\u043c\u043f\u044b. \u0412\u044b\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0435 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u0443\u0440\u043e\u0432\u043d\u044f\u043c\u0438 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0438\u0437-\u0437\u0430 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0435\u0439 \u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f \u0441\u0442\u043e\u043a\u043e\u0432\u043e\u0433\u043e \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430 \u0441\u0432\u0435\u0442\u0430, \u043d\u043e \u044d\u0442\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0435\u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u043e:<\/p>\n<table>\n<tr>\n<td><img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/34b\/189\/c0f\/34b189c0f9b74c44b44aadd87d19cc33.JPG\"\/><\/td>\n<td><img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/b56\/6cb\/b54\/b566cbb54afd4a93a586d5ce118da8e3.JPG\"\/><\/td>\n<td><img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/8de\/055\/c79\/8de055c7981f42c0b3bba01d47a91678.JPG\"\/><\/td>\n<\/tr>\n<\/table>\n<p>  \u0417\u0430\u0442\u0435\u043c \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b \u0448\u043b\u0435\u0439\u0444\u044b \u043f\u0440\u043e\u0432\u043e\u0434\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0434\u0432\u0435\u043b \u043a \u0443\u0440\u043e\u0432\u043d\u044f\u043c \u0441\u043d\u0438\u0437\u0443. \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440 \u0440\u0435\u0448\u0438\u043b \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u0437\u0443 \u043b\u0430\u043c\u043f\u044b, \u043f\u043e\u0431\u043b\u0438\u0436\u0435 \u043a \u0431\u043b\u043e\u043a\u0443 \u043f\u0438\u0442\u0430\u043d\u0438\u044f. \u0412\u0441\u0435 \u0448\u043b\u0435\u0439\u0444\u044b, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u043e\u043b\u0442\u0430\u043b\u0438\u0441\u044c, \u043f\u0440\u0438\u043c\u043e\u0442\u0430\u043b \u0438\u0437\u043e\u043b\u0435\u043d\u0442\u043e\u0439 \u043a \u0441\u0442\u0435\u0440\u0436\u043d\u044e:<\/p>\n<table>\n<tr>\n<td><img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/b6d\/2f7\/c98\/b6d2f7c982ce4d82af0ed02c079fbde2.JPG\"\/><\/td>\n<td><img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/a76\/755\/8c3\/a767558c37a8496197bf4c713ced9817.JPG\"\/><\/td>\n<\/tr>\n<\/table>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u0438\u0448\u043b\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0441\u0431\u043e\u0440\u043a\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0445\u0435\u043c\u044b. \u0421\u0445\u0435\u043c\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0441\u0434\u0432\u0438\u0433\u043e\u0432\u044b\u0445 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u0432 74hc595 \u0432\u0437\u044f\u043b \u0442\u0438\u043f\u043e\u0432\u0443\u044e, \u0441 \u0441\u0430\u0439\u0442\u0430-\u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u043f\u043e ShiftPWM.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u0445\u0435\u043c\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0441\u0434\u0432\u0438\u0433\u043e\u0432\u044b\u0445 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u0432<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/b5f\/12d\/913\/b5f12d913c8544e399ac2a645bdbe210.png\"\/>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u0445\u0435\u043c\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f uln2803<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/b93\/d92\/5ee\/b93d925ee9fe41c8b3855e42a766984c.jpg\"\/>  <\/div>\n<\/div>\n<p>  \u0421\u043e\u0431\u0440\u0430\u043b \u0441\u0445\u0435\u043c\u0443 \u043d\u0430 \u043c\u0430\u043a\u0435\u0442\u043d\u043e\u0439 \u0434\u043e\u0441\u043a\u0435 \u0441\u0445\u0435\u043c\u0443 \u0441 \u043e\u0434\u0438\u043d\u0430\u0440\u043d\u044b\u043c\u0438 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u0430\u043c\u0438, \u0437\u0430\u043b\u0438\u043b \u0441\u043a\u0435\u0442\u0447-\u043f\u0440\u0438\u043c\u0435\u0440 \u2014 \u0443\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u0438\u043b\u0441\u044f, \u0447\u0442\u043e \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043a\u0430\u043a \u043d\u0430\u0434\u043e:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/c9d\/385\/66f\/c9d38566fc1c47e2b7121bdef0695cca.JPG\"\/><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u0448\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u0443 \u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d-\u0432\u0435\u0440\u0441\u0438\u0438. \u0422.\u043a. \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u0443 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e, \u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u041b\u0423\u0422-\u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u043d\u0435 \u0431\u044b\u043b\u043e \u2014 \u0441\u043e\u0431\u0440\u0430\u043b \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043d\u0430 \u0434\u0432\u0443\u0445 \u043c\u0430\u043a\u0435\u0442\u043d\u044b\u0445 \u0442\u0435\u043a\u0441\u0442\u043e\u043b\u0438\u0442\u043e\u0432\u044b\u0445 \u043f\u043b\u0430\u0442\u0430\u0445, \u0440\u0430\u0437\u043c\u0435\u0440\u0430 4 \u043d\u0430 6\u0441\u043c. \u041d\u0430 \u043f\u0435\u0440\u0432\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043b \u0430\u0440\u0434\u0443\u0438\u043d\u0443 \u0438 \u043c\u043e\u0434\u0443\u043b\u044c bluetooth \u0434\u043b\u044f \u0434\u0438\u0441\u0442\u0430\u043d\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u2014 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044b, \u043a\u043b\u044e\u0447\u0438, \u0438 \u0440\u0430\u0437\u044a\u0435\u043c\u044b \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043b\u0435\u043d\u0442:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/2ee\/509\/e0d\/2ee509e0dd694fe89eace5d4f5ef7b11.JPG\"\/><\/p>\n<p>  \u0417\u0430\u0442\u0435\u043c \u0441\u043a\u0440\u0443\u0442\u0438\u043b \u043e\u0431\u0435 \u043f\u043b\u0430\u0442\u044b \u0432\u043c\u0435\u0441\u0442\u0435, \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u044d\u0434\u0430\u043a\u0438\u0439 \u0431\u0443\u0442\u0435\u0440\u0431\u0440\u043e\u0434:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/992\/81d\/d7b\/99281dd7b3564dd9b548889fffd54320.JPG\"\/><\/p>\n<p>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u043b\u043e\u043a\u0430 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u2014 \u0432\u0437\u044f\u043b \u043d\u0435\u0434\u043e\u0440\u043e\u0433\u043e\u0439 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0439, \u043d\u0430 12\u0412, \u0441 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u043c \u0442\u043e\u043a\u043e\u043c \u0434\u043e 5\u0410:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/b8d\/1ad\/dd2\/b8d1addd2073478d847c656abae81081.JPG\"\/><\/p>\n<p>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u043e\u0440\u043f\u0443\u0441\u0430 \u2014 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u043d\u0443\u044e \u043a\u043e\u0440\u043e\u0431\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0434\u043e\u0448\u043b\u0430 \u043f\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430\u043c:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/17e\/fa6\/751\/17efa6751edf46669dac5aae891f111f.JPG\"\/><\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u2014 \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043b \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u0440\u043f\u0443\u0441\u0430 \u0431\u043b\u043e\u043a \u043f\u0438\u0442\u0430\u043d\u0438\u044f, \u0438 \u0431\u0443\u0442\u0435\u0440\u0431\u0440\u043e\u0434 \u0438\u0437 \u043f\u043b\u0430\u0442, \u043f\u0440\u043e\u0442\u044f\u043d\u0443\u0432 \u0432\u043d\u0443\u0442\u0440\u044c \u043f\u0440\u043e\u0432\u043e\u0434\u0430 \u043e\u0442 \u043b\u0435\u043d\u0442:<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/65b\/093\/6c4\/65b0936c4ed1404caaf8b60c8c66d492.JPG\"\/><\/p>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u0435\u0437 \u0442\u0440\u0443\u0434\u0430 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043f\u0440\u044f\u0442\u0430\u0442\u044c \u043f\u043e\u0434 \u0430\u0431\u0430\u0436\u0443\u0440\u043e\u043c \u043b\u0430\u043c\u043f\u044b, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u043e \u043d\u0435 \u043f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u043b\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435.<\/p>\n<p>  \u0414\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043c\u043d\u043e\u0439 \u0431\u044b\u043b\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043f\u043e\u0434 \u0410\u043d\u0434\u0440\u043e\u0438\u0434 \u0441 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c (\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0432 \u041c\u0430\u0440\u043a\u0435\u0442\u0435 \u0437\u0434\u0435\u0441\u044c: <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.dev.aproschenko.arduinocontroller\">com.dev.aproschenko.arduinocontroller<\/a>). \u041d\u0435 \u0431\u0443\u0434\u0443 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0435\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u0438\u0445 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 \u041c\u0430\u0440\u043a\u0435\u0442\u0435, \u043a\u0430\u043a \u0438 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b. \u0410 \u0432\u043e\u043e\u0431\u0449\u0435 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0445\u0435\u043c\u043e\u0439 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 \u043b\u044e\u0431\u043e\u0439 bluetooth-\u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u2014 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0435\u0434\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434, \u0430 \u0434\u043b\u044f \u0432\u044b\u0431\u043e\u0440\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430 \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438 \u2014 \u0437\u0430\u0434\u0430\u0442\u044c RGB-\u043a\u043e\u0434 \u0446\u0432\u0435\u0442\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 <b>R,G,B<\/b>.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u0438\u0432\u043e\u0436\u0443 \u043a\u043e\u0434 \u0441\u043a\u0435\u0442\u0447\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0437\u0430\u043b\u0438\u0442\u044c. \u0421\u0445\u0435\u043c\u0430 \u0438\u043c\u0435\u0435\u0442 10 \u043f\u0440\u0435\u0434\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043e\u043a \u0440\u0435\u0436\u0438\u043c\u043e\u0432, \u0430 \u0442\u0430\u043a \u0436\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0434\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0438\u0445 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0446\u0432\u0435\u0442\u043e\u0432.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0435\u0442\u0447<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>\/*  * ShiftPWM non-blocking RGB fades example, (c) Elco Jacobs, updated August 2012.  *  * This example for ShiftPWM shows how to control your LED's in a non-blocking way: no delay loops.  * This example receives a number from the serial port to set the fading mode. Instead you can also read buttons or sensors.  * It uses the millis() function to create fades. The block fades example might be easier to understand, so start there.  *  * Please go to www.elcojacobs.com\/shiftpwm for documentation, fuction reference and schematics.  * If you want to use ShiftPWM with LED strips or high power LED's, visit the shop for boards.  *\/  \/\/ ShiftPWM uses timer1 by default. To use a different timer, before '#include &lt;ShiftPWM.h&gt;', add \/\/ #define SHIFTPWM_USE_TIMER2  \/\/ for Arduino Uno and earlier (Atmega328) \/\/ #define SHIFTPWM_USE_TIMER3  \/\/ for Arduino Micro\/Leonardo (Atmega32u4)  \/\/ Clock and data pins are pins from the hardware SPI, you cannot choose them yourself. \/\/ Data pin is MOSI (Uno and earlier: 11, Leonardo: ICSP 4, Mega: 51, Teensy 2.0: 2, Teensy 2.0++: 22)  \/\/ Clock pin is SCK (Uno and earlier: 13, Leonardo: ICSP 3, Mega: 52, Teensy 2.0: 1, Teensy 2.0++: 21)  \/\/ You can choose the latch pin yourself. const int ShiftPWM_latchPin=8;  \/\/ ** uncomment this part to NOT use the SPI port and change the pin numbers. This is 2.5x slower ** \/\/ #define SHIFTPWM_NOSPI \/\/ const int ShiftPWM_dataPin = 11; \/\/ const int ShiftPWM_clockPin = 13;   \/\/ If your LED's turn on if the pin is low, set this to true, otherwise set it to false. const bool ShiftPWM_invertOutputs = false;  \/\/ You can enable the option below to shift the PWM phase of each shift register by 8 compared to the previous. \/\/ This will slightly increase the interrupt load, but will prevent all PWM signals from becoming high at the same time. \/\/ This will be a bit easier on your power supply, because the current peaks are distributed. const bool ShiftPWM_balanceLoad = false;  #define rxPin 2 #define txPin 4  #include &lt;SoftwareSerial.h&gt; #include &lt;ShiftPWM.h&gt;   \/\/ include ShiftPWM.h after setting the pins!  \/\/ Function prototypes (telling the compiler these functions exist). void oneByOne(void); void inOutTwoLeds(void); void inOutAll(void); void alternatingColors(void); void hueShiftAll(void); void randomColors(void); void fakeVuMeter(void); void rgbLedRainbow(unsigned long cycleTime, int rainbowWidth); void printInstructions(void); void setColor(int r, int g, int b);  \/\/ Here you set the number of brightness levels, the update frequency and the number of shift registers. \/\/ These values affect the load of ShiftPWM. \/\/ Choose them wisely and use the PrintInterruptLoad() function to verify your load. unsigned char maxBrightness = 255; unsigned char pwmFrequency = 75; unsigned int numRegisters = 6; unsigned int numOutputs = numRegisters*8; unsigned int numRGBLeds = numRegisters*8\/3; unsigned int fadingMode = 0; \/\/start with all LED's off.  int r = 0; int g = 0; int b = 0;  unsigned long startTime = 0; \/\/ start time for the chosen fading mode  SoftwareSerial mySerial =  SoftwareSerial(rxPin, txPin);  void setup(){   while(!Serial){     delay(100);    }   Serial.begin(9600);    pinMode(rxPin, INPUT);   pinMode(txPin, OUTPUT);    \/\/ Sets the number of 8-bit registers that are used.   ShiftPWM.SetAmountOfRegisters(numRegisters);    \/\/ SetPinGrouping allows flexibility in LED setup.    \/\/ If your LED's are connected like this: RRRRGGGGBBBBRRRRGGGGBBBB, use SetPinGrouping(4).   ShiftPWM.SetPinGrouping(1); \/\/This is the default, but I added here to demonstrate how to use the funtion      ShiftPWM.Start(pwmFrequency,maxBrightness);   printInstructions();      mySerial.begin(9600); }  void loop() {       String command = &quot;&quot;;   while (mySerial.available() &gt; 0)   {     char c = mySerial.read();     Serial.println(c);     command.concat(c);   }      command.trim();   if (command == &quot;&quot;)   {   }   else   {     startTime = millis();   }    int firstCommaPos = -1;   int lastCommaPos = -1;      firstCommaPos = command.indexOf(',');   lastCommaPos = command.lastIndexOf(',');      if (firstCommaPos != -1 && lastCommaPos != -1 && lastCommaPos != firstCommaPos)   {     String rStr = command.substring(0, firstCommaPos);     String gStr = command.substring(firstCommaPos + 1, lastCommaPos);     String bStr = command.substring(lastCommaPos + 1);      \/\/    Serial.println(&quot;r is -&gt; &quot; + rStr); \/\/    Serial.println(&quot;g is -&gt; &quot; + gStr); \/\/    Serial.println(&quot;b is -&gt; &quot; + bStr);      r = rStr.toInt();     g = gStr.toInt();     b = bStr.toInt();          fadingMode = 10;   }    if (command == &quot;a&quot;)     fadingMode = 0;   if (command == &quot;b&quot;)     fadingMode = 1;   if (command == &quot;c&quot;)     fadingMode = 2;   if (command == &quot;d&quot;)     fadingMode = 3;   if (command == &quot;e&quot;)     fadingMode = 4;   if (command == &quot;f&quot;)     fadingMode = 5;   if (command == &quot;g&quot;)     fadingMode = 6;   if (command == &quot;h&quot;)     fadingMode = 7;   if (command == &quot;i&quot;)     fadingMode = 8;   if (command == &quot;j&quot;)     fadingMode = 9;    Serial.println(&quot;command is -&gt; &quot; + command);      switch(fadingMode){   case 0:     \/\/ Turn all LED's off.     ShiftPWM.SetAll(0);     break;   case 1:     oneByOne();     break;   case 2:     inOutAll();     break;   case 3:     inOutTwoLeds();     break;   case 4:     alternatingColors();     break;   case 5:     hueShiftAll();     break;   case 6:     randomColors();     break;   case 7:     fakeVuMeter();     break;   case 8:     rgbLedRainbow(3000,numRGBLeds);     break;   case 9:     rgbLedRainbow(10000,5*numRGBLeds);         break;      case 10:     setColor(r,g,b);     break;      default:     Serial.println(&quot;Unknown Mode!&quot;);     delay(1000);     break;   } }  void setColor(int r, int g, int b) {   ShiftPWM.SetAll(0);   ShiftPWM.SetAllRGB(r,g,b); }  void oneByOne(void){ \/\/ Fade in and fade out all outputs one at a time   unsigned char brightness;   unsigned long fadeTime = 500;   unsigned long loopTime = numOutputs*fadeTime*2;   unsigned long time = millis()-startTime;   unsigned long timer = time%loopTime;   unsigned long currentStep = timer%(fadeTime*2);    int activeLED = timer\/(fadeTime*2);    if(currentStep &lt;= fadeTime ){     brightness = currentStep*maxBrightness\/fadeTime; \/\/\/fading in   }   else{     brightness = maxBrightness-(currentStep-fadeTime)*maxBrightness\/fadeTime; \/\/\/fading out;   }   ShiftPWM.SetAll(0);   ShiftPWM.SetOne(activeLED, brightness); }  void inOutTwoLeds(void){ \/\/ Fade in and out 2 outputs at a time   unsigned long fadeTime = 500;   unsigned long loopTime = numOutputs*fadeTime;   unsigned long time = millis()-startTime;   unsigned long timer = time%loopTime;   unsigned long currentStep = timer%fadeTime;    int activeLED = timer\/fadeTime;   unsigned char brightness = currentStep*maxBrightness\/fadeTime;    ShiftPWM.SetAll(0);   ShiftPWM.SetOne((activeLED+1)%numOutputs,brightness);   ShiftPWM.SetOne(activeLED,maxBrightness-brightness); }  void inOutAll(void){  \/\/ Fade in all outputs   unsigned char brightness;   unsigned long fadeTime = 2000;   unsigned long time = millis()-startTime;   unsigned long currentStep = time%(fadeTime*2);    if(currentStep &lt;= fadeTime ){     brightness = currentStep*maxBrightness\/fadeTime; \/\/\/fading in   }   else{     brightness = maxBrightness-(currentStep-fadeTime)*maxBrightness\/fadeTime; \/\/\/fading out;   }   ShiftPWM.SetAll(brightness); }  void alternatingColors(void){ \/\/ Alternate LED's in 6 different colors   unsigned long holdTime = 2000;   unsigned long time = millis()-startTime;   unsigned long shift = (time\/holdTime)%6;   for(unsigned int led=0; led&lt;numRGBLeds; led++){     switch((led+shift)%6){     case 0:       ShiftPWM.SetRGB(led,255,0,0);    \/\/ red       break;     case 1:       ShiftPWM.SetRGB(led,0,255,0);    \/\/ green       break;     case 2:       ShiftPWM.SetRGB(led,0,0,255);    \/\/ blue       break;     case 3:       ShiftPWM.SetRGB(led,255,128,0);  \/\/ orange       break;     case 4:       ShiftPWM.SetRGB(led,0,255,255);  \/\/ turqoise       break;     case 5:       ShiftPWM.SetRGB(led,255,0,255);  \/\/ purple       break;     }   } }  void hueShiftAll(void){  \/\/ Hue shift all LED's   unsigned long cycleTime = 10000;   unsigned long time = millis()-startTime;   unsigned long hue = (360*time\/cycleTime)%360;   ShiftPWM.SetAllHSV(hue, 255, 255);  }  void randomColors(void){  \/\/ Update random LED to random color. Funky!   unsigned long updateDelay = 100;   static unsigned long previousUpdateTime;   if(millis()-previousUpdateTime &gt; updateDelay){     previousUpdateTime = millis();     ShiftPWM.SetHSV(random(numRGBLeds),random(360),255,255);   } }  void fakeVuMeter(void){ \/\/ imitate a VU meter   static unsigned int peak = 0;   static unsigned int prevPeak = 0;   static unsigned long currentLevel = 0;   static unsigned long fadeStartTime = startTime;      unsigned long fadeTime = (currentLevel*2);\/\/ go slower near the top    unsigned long time = millis()-fadeStartTime;   currentLevel = time%(fadeTime);    if(currentLevel==peak){     \/\/ get a new peak value     prevPeak = peak;     while(abs(peak-prevPeak)&lt;5){       peak =  random(numRGBLeds); \/\/ pick a new peak value that differs at least 5 from previous peak     }   }    if(millis() - fadeStartTime &gt; fadeTime){     fadeStartTime = millis();     if(currentLevel&lt;peak){ \/\/fading in       currentLevel++;     }     else{ \/\/fading out       currentLevel--;     }   }   \/\/ animate to new top   for(unsigned int led=0;led&lt;numRGBLeds;led++){     if(led&lt;currentLevel){       int hue = (numRGBLeds-1-led)*120\/numRGBLeds; \/\/ From green to red       ShiftPWM.SetHSV(led,hue,255,255);      }     else if(led==currentLevel){       int hue = (numRGBLeds-1-led)*120\/numRGBLeds; \/\/ From green to red       int value;       if(currentLevel&lt;peak){ \/\/fading in                 value = time*255\/fadeTime;       }       else{ \/\/fading out         value = 255-time*255\/fadeTime;       }       ShiftPWM.SetHSV(led,hue,255,value);            }     else{       ShiftPWM.SetRGB(led,0,0,0);     }   } }  void rgbLedRainbow(unsigned long cycleTime, int rainbowWidth){   \/\/ Displays a rainbow spread over a few LED's (numRGBLeds), which shifts in hue.    \/\/ The rainbow can be wider then the real number of LED's.   unsigned long time = millis()-startTime;   unsigned long colorShift = (360*time\/cycleTime)%360; \/\/ this color shift is like the hue slider in Photoshop.    for(unsigned int led=0;led&lt;numRGBLeds;led++){ \/\/ loop over all LED's     int hue = ((led)*360\/(rainbowWidth-1)+colorShift)%360; \/\/ Set hue from 0 to 360 from first to last led and shift the hue     ShiftPWM.SetHSV(led, hue, 255, 255); \/\/ write the HSV values, with saturation and value at maximum   } }  void printInstructions(void){   Serial.println(&quot;---- ShiftPWM Non-blocking fades demo ----&quot;);   Serial.println(&quot;&quot;);      Serial.println(&quot;Type 'l' to see the load of the ShiftPWM interrupt (the % of CPU time the AVR is busy with ShiftPWM)&quot;);   Serial.println(&quot;&quot;);   Serial.println(&quot;Type any of these numbers to set the demo to this mode:&quot;);   Serial.println(&quot;  0. All LED's off&quot;);   Serial.println(&quot;  1. Fade in and out one by one&quot;);   Serial.println(&quot;  2. Fade in and out all LED's&quot;);   Serial.println(&quot;  3. Fade in and out 2 LED's in parallel&quot;);   Serial.println(&quot;  4. Alternating LED's in 6 different colors&quot;);   Serial.println(&quot;  5. Hue shift all LED's&quot;);   Serial.println(&quot;  6. Setting random LED's to random color&quot;);   Serial.println(&quot;  7. Fake a VU meter&quot;);   Serial.println(&quot;  8. Display a color shifting rainbow as wide as the LED's&quot;);   Serial.println(&quot;  9. Display a color shifting rainbow wider than the LED's&quot;);     Serial.println(&quot;&quot;);   Serial.println(&quot;Type 'm' to see this info again&quot;);     Serial.println(&quot;&quot;);   Serial.println(&quot;----&quot;); } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412\u0438\u0434\u0435\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0440\u0435\u0436\u0438\u043c \u0440\u0430\u0434\u0443\u0433\u0438, \u0418\u041c\u0425\u041e \u0441\u0430\u043c\u044b\u0439 \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u044b:<\/p>\n<p>  <iframe loading=\"lazy\" width=\"560\" height=\"349\" src=\"\/\/www.youtube.com\/embed\/PoHrfmJQLSA?wmode=opaque\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>  \u0418 \u043f\u0430\u0440\u0430 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u2014 \u0436\u0430\u043b\u044c, \u0447\u0442\u043e \u0444\u043e\u0442\u043e\u043a\u0430\u043c\u0435\u0440\u0430 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0441\u043e\u0447\u043d\u043e\u0441\u0442\u0438 \u0446\u0432\u0435\u0442\u0430:<\/p>\n<table>\n<tr>\n<td><img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/890\/655\/cac\/890655cac24e4cc783751dfabfaac4dc.JPG\"\/><\/td>\n<td><img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/35d\/7a5\/637\/35d7a5637c224db2b9c99850b46c1152.JPG\"\/><\/td>\n<\/tr>\n<\/table>\n<h2>\u0418\u0442\u043e\u0433\u0438<\/h2>\n<p>  \u0421\u043e\u0431\u0440\u0430\u043d\u043d\u0430\u044f \u043b\u0430\u043c\u043f\u0430 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u0435\u0442 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u0438\u0434\u0435\u0435, \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a \u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u043d\u043e\u0435 \u0438\u0437\u0434\u0435\u043b\u0438\u0435, \u043f\u0440\u043e\u0432\u043e\u0434\u0430 \u043d\u0435 \u0442\u043e\u0440\u0447\u0430\u0442, \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0435\u0433\u043a\u043e, \u0441\u044b\u043d \u0434\u043e\u0432\u043e\u043b\u0435\u043d \u2014 \u0438 \u044d\u0442\u043e \u0433\u043b\u0430\u0432\u043d\u043e\u0435!<\/p>\n<p>  \u0412\u0441\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0431\u044b\u043b\u0438 \u043a\u0443\u043f\u043b\u0435\u043d\u044b \u043d\u0430 \u0415\u0431\u0435\u0435, \u0432\u0441\u0435 \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u0435 \u043c\u043e\u0433\u0443\u0442 \u043d\u0430\u0439\u0442\u0438 \u0438\u0445 \u0442\u0430\u043c \u2014 \u0446\u0435\u043d\u044b \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b. \u0418\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u043b\u0430\u043c\u043f\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e: 500\u0440 \u0441\u0430\u043c\u0430 \u043b\u0430\u043c\u043f\u0430, 800\u0440 \u2014 \u0437\u0430 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043d\u0443\u044e \u043b\u0435\u043d\u0442\u0443, 100\u0440 \u2014 \u0431\u043b\u043e\u043a \u043f\u0438\u0442\u0430\u043d\u0438\u044f, \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u044b \u2014 50\u0440, 200\u0440 \u2014 \u0441\u0438\u043d\u0435\u0437\u0443\u0431, \u043a\u043e\u0440\u043f\u0443\u0441 \u0438 \u0441\u0442\u0430\u043b\u044c\u043d\u0430\u044f \u043b\u0435\u043d\u0442\u0430 \u0434\u043b\u044f \u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f \u2014 200\u0440. \u0418\u0442\u043e\u0433\u043e \u2014 \u043e\u043a\u043e\u043b\u043e 1900\u0440.<br \/>  \u041f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0431\u043e\u0440\u043a\u0430 \u0437\u0430\u043d\u044f\u043b\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 2 \u043d\u0435\u0434\u0435\u043b\u0438 \u0432 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u043e \u0432\u0435\u0447\u0435\u0440\u0430\u043c. \u041d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u0435\u0435, \u0435\u0441\u043b\u0438 \u043d\u0435 \u043e\u0442\u0432\u043b\u0435\u043a\u0430\u0442\u044c\u0441\u044f.<\/p>\n<p>  \u0427\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0449\u0435:<\/p>\n<ul>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u041b\u0423\u0422 \u0432\u043c\u0435\u0441\u0442\u043e \u043c\u0430\u043a\u0435\u0442\u043d\u044b\u0445 \u043f\u043b\u0430\u0442<\/li>\n<li>\u0414\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u043e\u0444\u0442\u0438\u043d\u0443 \u0434\u043b\u044f \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u2014 \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044f\u0440\u043a\u043e\u0441\u0442\u044c\/\u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u044d\u0444\u0444\u0435\u043a\u0442\u043e\u0432 \u0438 \u0442.\u0434.<\/li>\n<li>\u0412\u043c\u0435\u0441\u0442\u043e \u0410\u0434\u0440\u0443\u0438\u043d\u043a\u0438 \u0432\u0437\u044f\u0442\u044c \u041c\u0430\u043b\u0438\u043d\u0443 \u2014 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u044f, \u0440\u0443\u0447\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u0440\u0435\u0436\u0438\u043c\u0430\u043c\u0438 \u0438\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u043e\u0432\u044b\u0445 \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0437\u0430\u043b\u0438\u0432\u043a\u0438 \u043c\u0438\u043a\u0440\u043e\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b<\/li>\n<li>\u0412\u043c\u0435\u0441\u0442\u043e \u043b\u0435\u043d\u0442 5050 \u0432\u0437\u044f\u0442\u044c \u043b\u0435\u043d\u0442\u0443 ws2811 \u2014 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0443\u0436\u0435 \u043d\u0435 \u0443\u0440\u043e\u0432\u043d\u044f\u043c\u0438 \u0446\u0435\u043b\u0438\u043a\u043e\u043c, \u0430 \u043a\u0430\u0436\u0434\u044b\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u043c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u043e\u043c<\/li>\n<li>\u0421\u0435\u0439\u0447\u0430\u0441 \u0441\u0442\u043e\u043a\u043e\u0432\u0430\u044f \u043b\u0430\u043c\u043f\u043e\u0447\u043a\u0430 \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u0441\u0432\u044f\u0437\u0430\u043d\u0430 \u0441 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u2014 \u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u0435\u043b\u0435 \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0435\u0439 \u0442\u0430\u043a \u0436\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e \u0441 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430<\/li>\n<li>\u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0445\u043b\u043e\u043f\u043a\u0443 \u043b\u0430\u0434\u043e\u0448\u0430\u043c\u0438 \u2014 \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043b\u0430\u0437\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0434\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f<\/li>\n<li>&#8230;<\/li>\n<li>\u0415\u0449\u0435 \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u0434\u043e\u0434\u0435\u043b\u043e\u043a<\/li>\n<\/ul>\n<p>  \u0411\u0443\u0434\u0443 \u0440\u0430\u0434 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0445 \u043e\u0442\u0437\u044b\u0432\u044b, \u043a\u0440\u0438\u0442\u0438\u043a\u0443, \u0438 \u0438\u0434\u0435\u0438 \u043e\u0431 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0438 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438.             <\/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:\/\/habrahabr.ru\/post\/258291\/\"> http:\/\/habrahabr.ru\/post\/258291\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>             \u041f\u0440\u0438\u0432\u0435\u0442 \u0425\u0430\u0431\u0440!<\/p>\n<h2>\u041f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u0435<\/h2>\n<p>  \u0418\u0434\u0435\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043c\u043d\u043e\u0433\u043e\u0446\u0432\u0435\u0442\u043d\u043e\u0439 \u043b\u0430\u043c\u043f\u044b \u043f\u0440\u0438\u0448\u043b\u0430 \u043c\u043d\u0435 \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0443\u0432\u0438\u0434\u0435\u043b, \u043a\u0430\u043a\u043e\u0435 \u0437\u0430\u0432\u043e\u0440\u0430\u0436\u0438\u0432\u0430\u044e\u0449\u0435\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u043c\u0438\u0433\u0430\u044e\u0449\u0430\u044f \u0433\u0438\u0440\u043b\u044f\u043d\u0434\u0430 \u043d\u0430 \u043c\u043e\u0435\u0433\u043e \u043f\u043e\u043b\u0443\u0433\u043e\u0434\u043e\u0432\u0430\u043b\u043e\u0433\u043e \u0441\u044b\u043d\u0430. \u0417\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u0435\u0447\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435, \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0435\u0435 \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u2014 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u043e\u0447\u043d\u0438\u043a\u0430, \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0433\u0438\u0431\u043a\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0440\u0435\u0436\u0438\u043c\u043e\u0432 \u0438 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0434\u0438\u0441\u0442\u0430\u043d\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f. \u041d\u0443 \u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 \u043f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0434\u043b\u044f \u0440\u0435\u0431\u0435\u043d\u043a\u0430, \u0447\u0435\u043c \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0430\u044f \u0433\u0438\u0440\u043b\u044f\u043d\u0434\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/662\/49f\/03c\/66249f03c4424112933a38a0e42e702c.jpg\"\/><\/p>\n<p>  \u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u043f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0444\u043e\u0442\u043e.  <\/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-257505","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/257505","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=257505"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/257505\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=257505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=257505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=257505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}