{"id":47083,"date":"2018-08-09T22:56:10","date_gmt":"2018-08-09T16:56:10","guid":{"rendered":"http:\/\/rcl-radio.ru\/?p=47083"},"modified":"2022-01-13T18:15:49","modified_gmt":"2022-01-13T12:15:49","slug":"%d1%80%d0%b0%d0%b7%d0%b4%d0%b5%d0%bb%d0%b5%d0%bd%d0%b8%d0%b5-%d1%87%d0%b8%d1%81%d0%bb%d0%b0-%d0%bd%d0%b0-%d0%be%d1%82%d0%b4%d0%b5%d0%bb%d1%8c%d0%bd%d1%8b%d0%b5-%d1%86%d0%b8%d1%84%d1%80%d1%8b","status":"publish","type":"post","link":"http:\/\/rcl-radio.ru\/?p=47083","title":{"rendered":"\u0420\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0447\u0438\u0441\u043b\u0430 \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0446\u0438\u0444\u0440\u044b"},"content":{"rendered":"<p>\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u0447\u0438\u0441\u043b\u043e \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0446\u0438\u0444\u0440\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u043a\u0435\u0442\u0447\u0430 \u0438 \u0432\u0441\u0435 \u0441\u0442\u0430\u043d\u0435\u0442 \u043f\u043e\u043d\u044f\u0442\u043d\u043e:<\/p>\n<pre class=\"cpp\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">void<\/span> setup<span style=\"color: #008000;\">(<\/span><span style=\"color: #008000;\">)<\/span><span style=\"color: #008000;\">{<\/span>\r\n  Serial.<span style=\"color: #007788;\">begin<\/span><span style=\"color: #008000;\">(<\/span><span style=\"color: #0000dd;\">9600<\/span><span style=\"color: #008000;\">)<\/span><span style=\"color: #008080;\">;<\/span>\r\n<span style=\"color: #008000;\">}<\/span>\r\n\u00a0\r\n<span style=\"color: #0000ff;\">int<\/span> k <span style=\"color: #000080;\">=<\/span> <span style=\"color: #0000dd;\">12345<\/span><span style=\"color: #008080;\">;<\/span>\r\n\u00a0\r\n<span style=\"color: #0000ff;\">void<\/span> loop<span style=\"color: #008000;\">(<\/span><span style=\"color: #008000;\">)<\/span><span style=\"color: #008000;\">{<\/span>\r\n  Serial.<span style=\"color: #007788;\">println<\/span><span style=\"color: #008000;\">(<\/span>k<span style=\"color: #000040;\">\/<\/span><span style=\"color: #0000dd;\">10000<\/span><span style=\"color: #008000;\">)<\/span><span style=\"color: #008080;\">;<\/span>\r\n  Serial.<span style=\"color: #007788;\">println<\/span><span style=\"color: #008000;\">(<\/span>k<span style=\"color: #000040;\">\/<\/span><span style=\"color: #0000dd;\">1000<\/span><span style=\"color: #000040;\">%<\/span><span style=\"color: #800080;\">10<\/span><span style=\"color: #008000;\">)<\/span><span style=\"color: #008080;\">;<\/span>\r\n  Serial.<span style=\"color: #007788;\">println<\/span><span style=\"color: #008000;\">(<\/span>k<span style=\"color: #000040;\">\/<\/span><span style=\"color: #0000dd;\">100<\/span><span style=\"color: #000040;\">%<\/span><span style=\"color: #800080;\">10<\/span><span style=\"color: #008000;\">)<\/span><span style=\"color: #008080;\">;<\/span>\r\n  Serial.<span style=\"color: #007788;\">println<\/span><span style=\"color: #008000;\">(<\/span>k<span style=\"color: #000040;\">\/<\/span><span style=\"color: #0000dd;\">10<\/span><span style=\"color: #000040;\">%<\/span><span style=\"color: #800080;\">10<\/span><span style=\"color: #008000;\">)<\/span><span style=\"color: #008080;\">;<\/span>\r\n  Serial.<span style=\"color: #007788;\">println<\/span><span style=\"color: #008000;\">(<\/span>k<span style=\"color: #000040;\">%<\/span><span style=\"color: #800080;\">10<\/span><span style=\"color: #000040;\">%<\/span><span style=\"color: #800080;\">10<\/span><span style=\"color: #008000;\">)<\/span><span style=\"color: #008080;\">;<\/span>   \r\n  delay<span style=\"color: #008000;\">(<\/span><span style=\"color: #0000dd;\">1000<\/span><span style=\"color: #008000;\">)<\/span><span style=\"color: #008080;\">;<\/span>  \r\n<span style=\"color: #008000;\">}<\/span>\r\n<\/pre>\n<p>\u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d \u043c\u0435\u0442\u043e\u0434, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u0447\u0438\u0441\u043b\u043e int \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0446\u0438\u0444\u0440\u044b, \u043a\u0430\u0436\u0434\u043e\u0439 \u0446\u0438\u0444\u0440\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e.<\/p>\n<div id=\"marketWidget\"><\/div>\n<p><a href=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2018\/08\/2615487.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-47084 size-full\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2018\/08\/2615487.png\" alt=\"\" width=\"609\" height=\"344\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2018\/08\/2615487.png 609w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2018\/08\/2615487-200x113.png 200w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2018\/08\/2615487-500x282.png 500w\" sizes=\"auto, (max-width: 609px) 100vw, 609px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u0447\u0438\u0441\u043b\u043e \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0446\u0438\u0444\u0440\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u043a\u0435\u0442\u0447\u0430 \u0438 \u0432\u0441\u0435 \u0441\u0442\u0430\u043d\u0435\u0442 \u043f\u043e\u043d\u044f\u0442\u043d\u043e: void setup(){ Serial.begin(9600); } \u00a0 int k = 12345; \u00a0 void loop(){ Serial.println(k\/10000); Serial.println(k\/1000%10); Serial.println(k\/100%10); Serial.println(k\/10%10); Serial.println(k%10%10); delay(1000); } \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d \u043c\u0435\u0442\u043e\u0434, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u0447\u0438\u0441\u043b\u043e int \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0446\u0438\u0444\u0440\u044b, \u043a\u0430\u0436\u0434\u043e\u0439 \u0446\u0438\u0444\u0440\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e.<\/p>\n","protected":false},"author":1,"featured_media":47084,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[239],"tags":[],"class_list":["post-47083","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino"],"views":6965,"_links":{"self":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/47083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=47083"}],"version-history":[{"count":2,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/47083\/revisions"}],"predecessor-version":[{"id":111537,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/47083\/revisions\/111537"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/media\/47084"}],"wp:attachment":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=47083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=47083"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=47083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}