{"id":287442,"date":"2018-08-16T14:09:19","date_gmt":"2018-08-16T10:09:19","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=287442"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2018-08-16T10:09:19","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=287442","title":{"rendered":"\u0414\u0435\u043b\u0430\u0435\u043c \u0440\u0430\u0434\u0438\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044e \u0438\u0437 GTA: San Andreas"},"content":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/post\/419661\/\" class=\"post__text post__text-html js-mediator-article\">\u0425\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043b\u0438 \u0432\u0430\u043c \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u0440\u0430\u0434\u0438\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044f\u043c\u0438 \u0442\u0430\u043a, \u043a\u0430\u043a \u0432\u044b \u0434\u0435\u043b\u0430\u043b\u0438 \u044d\u0442\u043e \u0432 \u0421\u0430\u043d-\u0410\u043d\u0434\u0440\u0435\u0430\u0441?<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/ed9\/18b\/5c0\/ed918b5c0863ea3973f9128ef2f6e03f.jpg\"><\/p>\n<p>  \u0421\u0430\u0443\u043d\u0434\u0442\u0440\u0435\u043a \u0438\u0437 GTA \u043f\u0440\u043e\u0441\u043b\u0430\u0432\u0438\u043b\u0441\u044f \u0445\u043e\u0440\u043e\u0448\u0438\u043c \u0432\u044b\u0431\u043e\u0440\u043e\u043c \u043c\u0443\u0437\u044b\u043a\u0438 \u0438 \u0437\u0430\u0431\u0430\u0432\u043d\u044b\u043c\u0438 \u0432\u0441\u0442\u0430\u0432\u043a\u0430\u043c\u0438. \u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Rockstar \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u043b\u0430 \u043e\u0442\u043b\u0438\u0447\u043d\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u044f \u0440\u0430\u0434\u0438\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0438\u0433\u0440\u044b \u2013 \u043a\u0441\u0442\u0430\u0442\u0438, \u043c\u0443\u0437\u044b\u043a\u0443 \u0438\u0437 Vice City \u0438 San Andreas \u043c\u043e\u0436\u043d\u043e \u0434\u0430\u0436\u0435 \u043a\u0443\u043f\u0438\u0442\u044c \u0432 \u0432\u0438\u0434\u0435 \u043d\u0430\u0431\u043e\u0440\u043e\u0432 CD.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0451 \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c \u2013 \u0438 \u043a\u043e\u0435-\u0447\u0435\u043c\u0443 \u043e\u0431\u0443\u0447\u0438\u0442\u044c\u0441\u044f, \u044f \u0440\u0435\u0448\u0438\u043b \u0432\u0437\u043b\u043e\u043c\u0430\u0442\u044c \u0440\u0430\u0434\u0438\u043e\u043f\u0440\u0438\u0451\u043c\u043d\u0438\u043a \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u043b \u0438\u0433\u0440\u043e\u0432\u044b\u0435 \u0440\u0430\u0434\u0438\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0438.<\/p>\n<p>  \u0418\u0434\u0435\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043a\u0440\u0443\u0442\u0438\u0442\u044c \u0440\u0443\u0447\u043a\u0443 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0440\u0438\u0451\u043c\u043d\u0438\u043a\u0430 \u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u0442\u0430\u043d\u0446\u0438\u044f\u043c\u0438, \u0442\u0430\u043a, \u043a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u043c \u043f\u0440\u0438\u0451\u043c\u043d\u0438\u043a\u043e\u043c. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u043f\u0440\u0435\u043f\u044f\u0442\u0441\u0442\u0432\u0438\u0435\u043c \u0441\u0442\u0430\u043b \u0441\u043e\u0444\u0442 \u2013 \u043c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b, \u0447\u0442\u043e\u0431\u044b \u043a\u0430\u0436\u0434\u0430\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0442\u0430\u043d\u0446\u0438\u044f \u0438\u0433\u0440\u0430\u043b\u0430 \u0441\u0432\u043e\u044e \u043c\u0443\u0437\u044b\u043a\u0443, \u0434\u0430\u0436\u0435 \u043a\u043e\u0433\u0434\u0430 \u044f \u0435\u0451 \u043d\u0435 \u0441\u043b\u0443\u0448\u0430\u044e. \u041e\u043f\u044f\u0442\u044c-\u0442\u0430\u043a\u0438, \u043a\u0430\u043a \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u0438\u0440\u0435.<\/p>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u0447\u043d\u0451\u043c!<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<div class=\"oembed\">\n<div>\n<div style=\"left: 0; width: 100%; height: 0; position: relative; padding-bottom: 56.2493%;\"><iframe src=\"https:\/\/www.youtube.com\/embed\/fqHrg4MlmFQ?rel=0&amp;showinfo=1&amp;hl=en-US\" style=\"border: 0; top: 0; left: 0; width: 100%; height: 100%; position: absolute;\" allowfullscreen scrolling=\"no\"><\/iframe><\/div>\n<\/div>\n<\/div>\n<p>  <\/p>\n<h2>1. \u041e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435<\/h2>\n<p>  \u042f \u0431\u044b \u0441 \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0431\u044b \u0434\u043b\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0441 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u043d\u044b\u043c \u0438 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u043c \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435\u043c, \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435 Arduino, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u0442\u0430\u043a\u0438\u0445 \u043f\u043b\u0430\u0442 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043f\u0440\u043e\u0449\u0435, \u0447\u0435\u043c \u0443 \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043e\u0432.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/921\/3b9\/f02\/9213b9f02fdcc18e91e79850e200ed9d.jpg\"><\/p>\n<p>  \u041d\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u043d\u0438\u044f \u0434\u0435\u0441\u044f\u0442\u043a\u043e\u0432 \u0444\u0430\u0439\u043b\u043e\u0432 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u043c\u043e\u0449\u043d\u044b\u0435 \u043c\u043e\u0437\u0433\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043d\u0430 Raspberry Pi. \u042f \u0443\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0435\u0433\u043e \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u0438 \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e \u0447\u0443\u0432\u0441\u0442\u0432\u0443\u044e \u0441\u0435\u0431\u044f \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043d\u0438\u043c. \u0410 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044f \u0432\u044b\u0431\u0440\u0430\u043b Python, \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u0442\u0430\u043a\u043e\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435. \u0410 \u043d\u0443\u0436\u043d\u044b \u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u044b?..<\/p>\n<h2>2. \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 \u043c\u0438\u043a\u0441\u0435\u0440 \u043d\u0430 Python<\/h2>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0434\u043b\u044f Python, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b \u043c\u043e\u0433\u043b\u0430:  <\/p>\n<ul>\n<li> \u0420\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430\u043c\u0438 \u0430\u0443\u0434\u0438\u043e.<\/li>\n<li> \u0414\u0430\u0432\u0430\u043b\u0430 \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u0438\u043c\u0438.<\/li>\n<\/ul>\n<p>  \u0414\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0430\u0434\u0438\u043e \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u0440\u0430\u0437\u0443 \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c\u044e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f. \u041f\u043e \u0441\u0443\u0442\u0438, \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u044d\u0442\u043e \u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442: \u043a\u0430\u0436\u0434\u0430\u044f \u0441\u0442\u0430\u043d\u0446\u0438\u044f \u2013 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0430\u0443\u0434\u0438\u043e, \u0430 \u0440\u0443\u0447\u043a\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043c\u0435\u043d\u044f\u0435\u0442 \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c \u044d\u0442\u0438\u0445 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432, \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0441\u043b\u0443\u0448\u0430\u0442\u0435\u043b\u044f.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u044f\u0436\u0451\u043b\u043e\u0433\u043e \u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 (pygame-mixer, python-sounddevice, puredata \u0441 \u043f\u0430\u0442\u0447\u0435\u043c \u0434\u043b\u044f \u043c\u0438\u043a\u0441\u0435\u0440\u0430), \u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043d\u0430 swmixer. \u041e\u043d \u0434\u0430\u0436\u0435 \u0443\u043c\u0435\u0435\u0442 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u043e, \u043d\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044f \u0438\u0445 \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u0446\u0435\u043b\u0438\u043a\u043e\u043c, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0432\u0435\u0441\u044c\u043c\u0430 \u0443\u0434\u043e\u0431\u043d\u043e \u0434\u043b\u044f \u043c\u0435\u043d\u044f, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u044f \u0445\u043e\u0442\u0435\u043b \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0432\u0441\u044e \u043c\u0443\u0437\u044b\u043a\u0443 \u0432 \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b. \u041c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0444\u043e\u0440\u043a \u044d\u0442\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0432 \u043d\u0435\u0439 \u043e\u0448\u0438\u0431\u043a\u0443, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0435\u0451 \u0443\u0436\u0435 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u043b\u0438.<\/p>\n<p>  \u042f \u0440\u0435\u0448\u0438\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Raspberry Pi 3, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043c\u043e\u0434\u0435\u043b\u044c 2B \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0437\u0430\u0436\u0438\u043c\u0430\u043b\u0430 \u0432\u044b\u0432\u043e\u0434 \u0430\u0443\u0434\u0438\u043e. \u041d\u0435 \u0441\u0442\u0430\u0432 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u0442\u0435\u043c, \u043f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u043e\u0432\u0430\u0432\u0448\u0438\u0441\u044c \u0442\u0435\u043c, \u0447\u0442\u043e \u043d\u0430 \u043d\u043e\u0432\u043e\u0439 \u043f\u043b\u0430\u0442\u0435 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u044f \u043f\u0435\u0440\u0435\u0448\u0451\u043b \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c\u0443 \u0448\u0430\u0433\u0443.<\/p>\n<h2>3. \u0412\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0439 \u0434\u0430\u0442\u0447\u0438\u043a \u0443\u0433\u043b\u0430 \u043f\u043e\u0432\u043e\u0440\u043e\u0442\u0430 (\u0414\u0423\u041f) (\u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u044c\u0442\u0435\u0441\u044c \u0441 pyKY040)<\/h2>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/046\/e64\/649\/046e6464993ce7e1702ca262a68869d4.png\"><\/p>\n<p>  \u041b\u0443\u0447\u0448\u0435\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 \u0434\u043b\u044f Python \u043d\u0430 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0414\u0423\u041f KY040 \u0431\u044b\u043b\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <a href=\"https:\/\/github.com\/martinohanlon\/KY040\">KY040<\/a>, \u043d\u043e \u043e\u043d\u0430 \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u043b\u0430 \u043f\u043e\u0434 \u043c\u043e\u0438 \u043d\u0443\u0436\u0434\u044b, \u043a \u0442\u043e\u043c\u0443 \u0436\u0435, \u043c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439, \u043f\u0435\u0440\u0432\u044b\u0439, \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f Python, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b <a href=\"https:\/\/github.com\/raphaelyancey\/pyKY040\">pyKY040<\/a>.<\/p>\n<p>  \u041e\u043d \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442:  <\/p>\n<ul>\n<li> \u041a\u043e\u043b\u0431\u0435\u043a \u043d\u0430 \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.<\/li>\n<li> \u041a\u043e\u043b\u0431\u0435\u043a \u043d\u0430 \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u0435.<\/li>\n<li> \u041a\u043e\u043b\u0431\u0435\u043a \u043d\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435.<\/li>\n<li> \u041a\u043e\u043b\u0431\u0435\u043a \u043d\u0430\u0436\u0430\u0442\u0438\u044f \u043a\u043d\u043e\u043f\u043a\u0438.<\/li>\n<\/ul>\n<p>  \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:  <\/p>\n<ul>\n<li> \u0420\u0435\u0436\u0438\u043c \u0448\u043a\u0430\u043b\u044b (\u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u0441\u0447\u0451\u0442\u0447\u0438\u043a \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0433\u0440\u0430\u043d\u0438\u0446 \u043e\u0442 X \u0434\u043e Y, \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 \u043a\u043e\u043b\u0431\u0435\u043a-\u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c).<\/li>\n<li> \u0420\u0435\u0436\u0438\u043c \u043a\u043e\u043b\u044c\u0446\u0435\u0432\u043e\u0439 \u0448\u043a\u0430\u043b\u044b (\u043e\u0442 X \u0434\u043e Y, \u0437\u0430\u0442\u0435\u043c \u0441\u043d\u043e\u0432\u0430 X).<\/li>\n<li> \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u044b \u0448\u0430\u0433\u0430 \u043d\u0430 \u0448\u043a\u0430\u043b\u0435.<\/li>\n<\/ul>\n<p>  \u041e\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b \u043c\u043d\u0435 \u0434\u0435\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u043a\u0443 \u0440\u0430\u0431\u043e\u0442\u044b \u0414\u0423\u041f \u0438 \u0441\u043a\u043e\u043d\u0446\u0435\u043d\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442, \u043a\u043e\u0433\u0434\u0430 \u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e \u0441 \u043d\u0438\u043c.<\/p>\n<p>  \u041a \u0414\u0423\u041f \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043a\u043e\u0434\u0435 \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0438:<\/p>\n<pre><code class=\"python\">tuning_encoder = pyky040.Encoder(CLK=17, DT=27, SW=22) tuning_encoder.setup(scale_min=MIN_VFREQ, scale_max=MAX_VFREQ, step=1, chg_callback=vfreq_changed) tuning_thread = threading.Thread(target=tuning_encoder.watch)  volume_encoder = pyky040.Encoder(CLK=5, DT=6, SW=13) volume_encoder.setup(scale_min=0, scale_max=10, step=1, inc_callback=inc_global_volume, dec_callback=dec_global_volume, sw_callback=toggle_mute) global_volume_thread = threading.Thread(target=volume_encoder.watch)  tuning_thread.start() global_volume_thread.start()<\/code><\/pre>\n<h2>4. \u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0430\u0434\u0438\u043e (\u043a\u043e\u0434)<\/h2>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u044f \u043c\u043e\u0433 \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0438 \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0414\u0423\u041f. \u041d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434 \u0434\u043b\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0430\u0434\u0438\u043e.<\/p>\n<p>  \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u043d, \u043a\u0430\u043a \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d \u0440\u0430\u0434\u0438\u043e. \u041d\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0430\u0441\u0442\u043e\u0442\u0430\u0445 (\u0438\u043b\u0438 \u0432\u0447) \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u043b\u044b\u0448\u0430\u0442\u044c \u0437\u0432\u0443\u043a \u2013 \u044d\u0442\u043e \u043a\u0430\u043d\u0430\u043b\u044b swmixer. \u041c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u0432\u0447 \u0441\u043b\u044b\u0448\u043d\u043e \u0441\u043c\u0435\u0441\u044c \u0434\u0432\u0443\u0445 \u0430\u0443\u0434\u0438\u043e\u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432.<\/p>\n<pre><code class=\"python\"> Chn 1          Chn 2          Chn 3          Chn 4         Chn n            |              |              |              |             |             |--------------|--------------|--------------|-------------|                                                                                      &lt;----------------------------------------------------------&gt;                                   \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u0430                               <\/code><\/pre>\n<p>  \u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u0430 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043f\u0440\u043e\u0441\u0442\u043e \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u043b\u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442\u0441\u044f \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u0430\u0448\u0435\u0433\u043e \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0414\u0423\u041f.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u0432\u043e\u0431\u043e\u0434\u044b \u043f\u0440\u0438 \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0435 \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u0438 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u0432\u0447, \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0449\u0435\u0439 \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0439 \u0432\u0447. \u041f\u043e\u043a\u0430 \u0447\u0442\u043e \u044d\u0442\u0430 \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0430 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043b\u0438\u043d\u0435\u0439\u043d\u043e, \u043d\u043e \u0435\u0451 \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c, \u0441\u0434\u0435\u043b\u0430\u0432 \u0431\u043e\u043b\u0435\u0435 \u0448\u0443\u043c\u043d\u0443\u044e \u0438 \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0443\u044e \u043a\u0440\u0438\u0432\u0443\u044e \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u0438.<\/p>\n<pre><code class=\"python\">                             VOLUME                                  \/-\\                                           \/-\\         \/-  | --\\                                     \/-- | --\\   --     |    --\\                               \/--    |    --        |       --\\                         \/--       |               |          -\\                     \/-          |               |            --\\               \/--            |               |               --\\         \/--               |               |                  --\\   \/--                  |               |                     \/--                     |               |                  \/--   --\\                  |               |               \/--         --\\               |               |            \/--               --\\            |               |          \/-                     -\\          |               |       \/--                         --\\       |         -\\    |    \/--                               --\\    |    \/-     --\\ | \/--                                     --\\ | \/--       -------------------------------------------------------           |                    vfreq                    |                                                                      \u0432\u0447 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e                           \u0432\u0447 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430                                          \u043a\u0430\u043d\u0430\u043b\u0430 <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u043c\u044b \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c \u044d\u0442\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u043a \u043a\u0430\u043d\u0430\u043b\u0443 n-1, \u043e\u043d \u043f\u0435\u0440\u0435\u0441\u0435\u0447\u0451\u0442\u0441\u044f \u0441 \u043a\u0430\u043d\u0430\u043b\u043e\u043c n, \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0447\u0435\u0433\u043e \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u0441\u043c\u0435\u0441\u044c \u0430\u0443\u0434\u0438\u043e \u0438\u0437 \u0434\u0432\u0443\u0445 \u044d\u0442\u0438\u0445 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432.<\/p>\n<p>  \u0412 \u043f\u0441\u0435\u0432\u0434\u043e\u043a\u043e\u0434\u0435 \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"python\"> \u041a\u043e\u0433\u0434\u0430 \u0432\u0447 \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f (\u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0414\u0423\u041f)     -&gt; \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u0438 \u0434\u043b\u044f \u043e\u0431\u043e\u0438\u0445 \u0430\u0443\u0434\u0438\u043e\u043a\u0430\u043d\u0430\u043b\u043e\u0432     [         -&gt; \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u0438 \u0434\u043b\u044f \u043e\u0431\u043e\u0438\u0445 \u0430\u0443\u0434\u0438\u043e\u043a\u0430\u043d\u0430\u043b\u043e\u0432         [             \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0431\u043b\u0438\u0437\u043b\u0435\u0436\u0430\u0449\u0438\u0435 \u043a\u0430\u043d\u0430\u043b\u044b \u0432\u0447 (\u0432\u0435\u0440\u0445\u043d\u0438\u0439 \u0438 \u043d\u0438\u0436\u043d\u0438\u0439)             \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435 \u0442\u043e\u0442 \u043a\u0430\u043d\u0430\u043b, \u0435\u0433\u043e \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c \u0440\u0430\u0432\u043d\u0430 0             \u0438\u043d\u0430\u0447\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c \u043a\u0430\u043d\u0430\u043b\u0430 \u0432\u0447         ]     ]     -&gt; \u043d\u0430\u0437\u043d\u0430\u0447\u0438\u0442\u044c \u043a\u0430\u043d\u0430\u043b\u0430\u043c \u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c <\/code><\/pre>\n<p>  \u0412\u0441\u0435 \u0434\u0435\u0442\u0430\u043b\u0438 \u0435\u0441\u0442\u044c \u0432 \u043a\u043e\u0434\u0435. \u041d\u0430\u0447\u043d\u0438\u0442\u0435 \u0441 \u043a\u043e\u043d\u0446\u0430 \u0444\u0430\u0439\u043b\u0430, \u0433\u0434\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043a\u043e\u043b\u0431\u0435\u043a\u0438 \u0434\u043b\u044f \u0414\u0423\u041f, \u0430 \u043f\u043e\u0442\u043e\u043c \u0438\u0434\u0438\u0442\u0435 \u043f\u043e \u0441\u043b\u0435\u0434\u0443.<\/p>\n<h2>5. \u0412\u0437\u043b\u0430\u043c\u044b\u0432\u0430\u0435\u043c \u043a\u043e\u0440\u043f\u0443\u0441 \u0440\u0430\u0434\u0438\u043e\u043f\u0440\u0438\u0451\u043c\u043d\u0438\u043a\u0430<\/h2>\n<p>  \u0414\u043e\u043d\u043e\u0440\u043e\u043c \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b \u0440\u0430\u0434\u0438\u043e\u043f\u0440\u0438\u0451\u043c\u043d\u0438\u043a \u043c\u043e\u0435\u0433\u043e \u0434\u0435\u0434\u0443\u0448\u043a\u0438, Optalix TO100. \u0417\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u0424\u0440\u0430\u043d\u0446\u0438\u0438, \u043f\u043e\u043b\u0430\u0433\u0430\u044e, \u043d\u0430\u0439\u0442\u0438 \u0435\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u043b\u0435\u0433\u043a\u043e. \u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0437\u0430 <a href=\"https:\/\/www.ebay.fr\/sch\/i.html?_from=R40&amp;_trksid=m570.l1313&amp;_nkw=Optalix+TO100&amp;_sacat=0\">\u20ac20<\/a> \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u0438\u043a\u043e\u043b\u044c\u043d\u044b\u0439, \u0432\u0438\u043d\u0442\u0430\u0436\u043d\u044b\u0439 \u0438 \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u044b\u0439 \u043f\u0440\u0438\u0451\u043c\u043d\u0438\u0447\u0435\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u0441\u043a\u0430\u0442\u044c \u0441 \u0441\u043e\u0431\u043e\u0439 \u0432 \u0441\u0443\u043c\u043a\u0435.<\/p>\n<h2>\u0414\u0423\u041f<\/h2>\n<p>  \u0421\u0430\u043c\u0438 \u043f\u043e \u0441\u0435\u0431\u0435 \u0414\u0423\u041f \u0432\u043b\u0435\u0437\u0430\u043b\u0438 \u043a\u0430\u043a \u0440\u0430\u0437 \u0442\u0430\u043a, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u043a\u043e\u0440\u043f\u0443\u0441 \u2013 \u043d\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u0434\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0432\u043e\u0434\u043e\u0432-\u0434\u0436\u0430\u043c\u043f\u0435\u0440\u043e\u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0430\u0441\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u043b\u0430\u0441\u0442\u0438\u043a\u043e\u0432\u044b\u0435 \u043a\u043e\u043d\u043d\u0435\u043a\u0442\u043e\u0440\u044b \u0438 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 \u0442\u0435\u0440\u043c\u043e\u0443\u0441\u0430\u0434\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u0435\u0451 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0441\u0433\u0438\u0431\u0430\u0442\u044c.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/45b\/a79\/f49\/45ba79f49c6aab4c8aeadfb0034e11e4.jpg\"><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/d4d\/526\/32a\/d4d52632ad8928335447d1022a62df54.jpg\"><\/p>\n<p>  \u0423 \u0442\u0435\u0445 \u0414\u0423\u041f, \u0447\u0442\u043e \u044f \u0441\u0435\u0431\u0435 \u043a\u0443\u043f\u0438\u043b, \u043d\u0435 \u0431\u044b\u043b\u043e \u0440\u0435\u0437\u044c\u0431\u044b \u2013 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0438\u043c\u043f\u0440\u043e\u0432\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441 \u043f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435\u043c \u0438\u0445 \u043a \u043a\u043e\u0440\u043f\u0443\u0441\u0443 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u0430\u0440\u0442\u043e\u043d\u043a\u0438 \u0438 \u0442\u0435\u0440\u043c\u043e\u043f\u043b\u0430\u0441\u0442\u0438\u0447\u043d\u043e\u0433\u043e \u043a\u043b\u0435\u044f. \u041a\u043b\u0435\u0439 \u0440\u0435\u0448\u0430\u0435\u0442, \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/120\/24d\/817\/12024d817368438cc6ddc9141c47f0c0.jpg\"><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/b9c\/9bc\/a80\/b9c9bca80bd00dff9f891c9421b53629.jpg\"><\/p>\n<h2>Raspberry Pi<\/h2>\n<p>  \u0420\u0430\u0437\u044a\u0451\u043c \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u044f \u043f\u0435\u0440\u0435\u043d\u0451\u0441 \u043d\u0430 \u043a\u043e\u0440\u043f\u0443\u0441, \u0432\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432\u0442\u044b\u043a\u0430\u0442\u044c \u043a\u0430\u0431\u0435\u043b\u044c \u043f\u0440\u044f\u043c\u043e \u0432 Pi \u2013 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u044f \u043c\u043e\u0433 \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c, \u043a\u0430\u043a \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0432 \u043a\u043e\u0440\u043f\u0443\u0441\u0435, \u043d\u0435 \u0434\u0443\u043c\u0430\u044f \u043e \u0442\u043e\u043c, \u043a\u0443\u0434\u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u043d\u0430 \u043a\u043e\u0440\u043f\u0443\u0441\u0435 \u043d\u0430\u0434\u043e \u043f\u0440\u0438\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0440\u0430\u0437\u044a\u0451\u043c \u043f\u0438\u0442\u0430\u043d\u0438\u044f.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/21e\/c4b\/221\/21ec4b22123a4d830526a47004bf7565.jpg\"><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/8df\/883\/c1f\/8df883c1f6508073606d7da5dbc629aa.jpg\"><\/p>\n<p>  \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043a\u0430\u0431\u0435\u043b\u044c \u0441 \u0440\u0430\u0437\u044a\u0451\u043c\u0430\u043c\u0438 micro-USB \u00ab\u043c\u0430\u043c\u0430\u00bb \u0438 \u00ab\u043f\u0430\u043f\u0430\u00bb, \u043d\u043e \u0447\u0442\u043e\u0431\u044b \u043e\u0441\u0432\u043e\u0431\u043e\u0434\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043c\u0435\u0441\u0442\u0430, \u044f \u0437\u0430\u0447\u0438\u0441\u0442\u0438\u043b \u043a\u0430\u0431\u0435\u043b\u044c \u0438 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u043f\u0440\u0438\u043f\u0430\u044f\u043b \u043a Pi \u2013 \u043f\u043b\u044e\u0441 \u043a PP2 \u0438 \u043c\u0438\u043d\u0443\u0441 \u043a \u0440\u0430\u0437\u044a\u0451\u043c\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0437\u0435\u043c\u043b\u0451\u043d (\u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u2013 PP5). \u0418 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043a\u043b\u0435\u044f \u043f\u043e\u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043e\u0442\u043b\u043e\u043c\u0430\u043b\u043e\u0441\u044c.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/20e\/863\/776\/20e863776cd0feda62439b4f1ec54244.jpg\"><\/p>\n<h2>\u0414\u0438\u043d\u0430\u043c\u0438\u043a<\/h2>\n<p>  \u0414\u0438\u043d\u0430\u043c\u0438\u043a \u2013 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u043d\u0430 5\u0412\u0442 \u043e\u0442 \u043f\u0440\u0438\u0451\u043c\u043d\u0438\u043a\u0430 TO100. \u041e\u043d \u0441\u043e\u0435\u0434\u0438\u043d\u0451\u043d \u0441 \u0443\u0441\u0438\u043b\u0438\u0442\u0435\u043b\u0435\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0435\u0434\u0438\u043d\u0451\u043d \u0441 \u0430\u0443\u0434\u0438\u043e \u0448\u0442\u0435\u043a\u0435\u0440\u043e\u043c 3,5 \u043c\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043e\u0442\u043a\u043d\u0443\u0442 \u0432 <a href=\"https:\/\/www.ebay.fr\/itm\/Adaptater-USB-CARTE-SON-3D-5-1-AUDIO-MICRO-Virtuel-STEREO-EXTERNAL-PC-SOUND-CARD-\/163166606058\">\u0434\u0435\u0448\u0451\u0432\u044b\u0439 USB \u0426\u0410\u041f<\/a>.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/dde\/f0f\/23a\/ddef0f23aa556a568fb6c7eb24ff85e9.jpg\"><\/p>\n<p>  \u0412\u0441\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u043e \u0447\u0435\u0440\u0435\u0437 \u0434\u043e\u0441\u043a\u0443 \u0434\u043b\u044f \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0433\u043e\u0442\u043e\u0432\u043e \u0437\u0430\u043a\u0440\u044b\u0442\u044c\u0441\u044f \u043d\u0430 \u0432\u0435\u043a\u0438 \u0432\u0435\u0447\u043d\u044b\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/0b6\/2b7\/5f1\/0b62b75f18d8764f564f53f45e746b25.jpg\"><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/924\/c43\/261\/924c43261eb0980da06fe1b61998d6ca.jpg\"><\/div>\n<p>        <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d()}}}t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>     <br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/post\/419661\/\"> https:\/\/habr.com\/post\/419661\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/post\/419661\/\" class=\"post__text post__text-html js-mediator-article\">\u0425\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043b\u0438 \u0432\u0430\u043c \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u0440\u0430\u0434\u0438\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044f\u043c\u0438 \u0442\u0430\u043a, \u043a\u0430\u043a \u0432\u044b \u0434\u0435\u043b\u0430\u043b\u0438 \u044d\u0442\u043e \u0432 \u0421\u0430\u043d-\u0410\u043d\u0434\u0440\u0435\u0430\u0441?<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/ed9\/18b\/5c0\/ed918b5c0863ea3973f9128ef2f6e03f.jpg\"><\/p>\n<p>  \u0421\u0430\u0443\u043d\u0434\u0442\u0440\u0435\u043a \u0438\u0437 GTA \u043f\u0440\u043e\u0441\u043b\u0430\u0432\u0438\u043b\u0441\u044f \u0445\u043e\u0440\u043e\u0448\u0438\u043c \u0432\u044b\u0431\u043e\u0440\u043e\u043c \u043c\u0443\u0437\u044b\u043a\u0438 \u0438 \u0437\u0430\u0431\u0430\u0432\u043d\u044b\u043c\u0438 \u0432\u0441\u0442\u0430\u0432\u043a\u0430\u043c\u0438. \u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Rockstar \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u043b\u0430 \u043e\u0442\u043b\u0438\u0447\u043d\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u044f \u0440\u0430\u0434\u0438\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0438\u0433\u0440\u044b \u2013 \u043a\u0441\u0442\u0430\u0442\u0438, \u043c\u0443\u0437\u044b\u043a\u0443 \u0438\u0437 Vice City \u0438 San Andreas \u043c\u043e\u0436\u043d\u043e \u0434\u0430\u0436\u0435 \u043a\u0443\u043f\u0438\u0442\u044c \u0432 \u0432\u0438\u0434\u0435 \u043d\u0430\u0431\u043e\u0440\u043e\u0432 CD.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0451 \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c \u2013 \u0438 \u043a\u043e\u0435-\u0447\u0435\u043c\u0443 \u043e\u0431\u0443\u0447\u0438\u0442\u044c\u0441\u044f, \u044f \u0440\u0435\u0448\u0438\u043b \u0432\u0437\u043b\u043e\u043c\u0430\u0442\u044c \u0440\u0430\u0434\u0438\u043e\u043f\u0440\u0438\u0451\u043c\u043d\u0438\u043a \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u043b \u0438\u0433\u0440\u043e\u0432\u044b\u0435 \u0440\u0430\u0434\u0438\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0438.<\/p>\n<p>  \u0418\u0434\u0435\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043a\u0440\u0443\u0442\u0438\u0442\u044c \u0440\u0443\u0447\u043a\u0443 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0440\u0438\u0451\u043c\u043d\u0438\u043a\u0430 \u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u0442\u0430\u043d\u0446\u0438\u044f\u043c\u0438, \u0442\u0430\u043a, \u043a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u043c \u043f\u0440\u0438\u0451\u043c\u043d\u0438\u043a\u043e\u043c. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u043f\u0440\u0435\u043f\u044f\u0442\u0441\u0442\u0432\u0438\u0435\u043c \u0441\u0442\u0430\u043b \u0441\u043e\u0444\u0442 \u2013 \u043c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b, \u0447\u0442\u043e\u0431\u044b \u043a\u0430\u0436\u0434\u0430\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0442\u0430\u043d\u0446\u0438\u044f \u0438\u0433\u0440\u0430\u043b\u0430 \u0441\u0432\u043e\u044e \u043c\u0443\u0437\u044b\u043a\u0443, \u0434\u0430\u0436\u0435 \u043a\u043e\u0433\u0434\u0430 \u044f \u0435\u0451 \u043d\u0435 \u0441\u043b\u0443\u0448\u0430\u044e. \u041e\u043f\u044f\u0442\u044c-\u0442\u0430\u043a\u0438, \u043a\u0430\u043a \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u0438\u0440\u0435.<\/p>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u0447\u043d\u0451\u043c!  <\/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-287442","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/287442","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=287442"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/287442\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=287442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=287442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=287442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}