{"id":4538,"date":"2017-01-29T01:16:52","date_gmt":"2017-01-28T16:16:52","guid":{"rendered":"http:\/\/jumbleat.com\/?p=4538"},"modified":"2017-06-18T21:52:07","modified_gmt":"2017-06-18T12:52:07","slug":"joystick_contorller","status":"publish","type":"post","link":"https:\/\/jumbleat.com\/en\/2017\/01\/29\/joystick_contorller\/","title":{"rendered":"(\u65e5\u672c\u8a9e) Arduino\u3067\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af\u3092\u4f7f\u3046"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21 [ Contents ]<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69d8cbec5e212\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #757575;color:#757575\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #757575;color:#757575\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69d8cbec5e212\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/jumbleat.com\/en\/2017\/01\/29\/joystick_contorller\/#%E9%85%8D%E7%B7%9A%E5%9B%B3\" >\u914d\u7dda\u56f3<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/jumbleat.com\/en\/2017\/01\/29\/joystick_contorller\/#%E5%BF%85%E8%A6%81%E3%81%AA%E3%82%82%E3%81%AE\" >\u5fc5\u8981\u306a\u3082\u306e<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/jumbleat.com\/en\/2017\/01\/29\/joystick_contorller\/#%E3%82%B8%E3%83%A7%E3%82%A4%E3%82%B9%E3%83%86%E3%82%A3%E3%83%83%E3%82%AF%E5%85%A5%E6%89%8B%E5%85%88\" >\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af\u5165\u624b\u5148<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/jumbleat.com\/en\/2017\/01\/29\/joystick_contorller\/#%E3%82%B9%E3%82%B1%E3%83%83%E3%83%81%E3%82%92%E6%9B%B8%E3%81%8F\" >\u30b9\u30b1\u30c3\u30c1\u3092\u66f8\u304f<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/jumbleat.com\/en\/2017\/01\/29\/joystick_contorller\/#%E3%82%B8%E3%83%A7%E3%82%A4%E3%82%B9%E3%83%86%E3%82%A3%E3%83%83%E3%82%AF%E3%82%92analogRead\" >\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af\u3092analogRead<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/jumbleat.com\/en\/2017\/01\/29\/joystick_contorller\/#%E5%80%A4%E3%82%92%E6%AD%A3%E8%B2%A0%E3%81%AB%E3%81%99%E3%82%8B\" >\u5024\u3092\u6b63\u8ca0\u306b\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/jumbleat.com\/en\/2017\/01\/29\/joystick_contorller\/#%E4%B8%AD%E5%BF%83%E3%81%AE%E3%83%90%E3%83%A9%E3%81%A4%E3%81%8D%E7%AF%84%E5%9B%B2%E3%82%920%E3%81%AB%E3%81%99%E3%82%8B\" >\u4e2d\u5fc3\u306e\u30d0\u30e9\u3064\u304d\u7bc4\u56f2\u30920\u306b\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/jumbleat.com\/en\/2017\/01\/29\/joystick_contorller\/#%E5%80%A4%E3%82%92%E6%8F%83%E3%81%88%E3%82%8B\" >\u5024\u3092\u63c3\u3048\u308b<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/jumbleat.com\/en\/2017\/01\/29\/joystick_contorller\/#%E3%81%BE%E3%81%A8%E3%82%81_%E3%82%B9%E3%82%B1%E3%83%83%E3%83%81\" >\u307e\u3068\u3081 \u30b9\u30b1\u30c3\u30c1<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/jumbleat.com\/en\/2017\/01\/29\/joystick_contorller\/#%E3%82%A2%E3%83%8A%E3%83%AD%E3%82%B0%E3%82%B8%E3%83%A7%E3%82%A4%E3%82%B9%E3%83%86%E3%82%A3%E3%83%83%E3%82%AF%E3%81%A7OLED%E3%81%AE%E4%B8%B8%E3%82%92%E5%8B%95%E3%81%8B%E3%81%99\" >\u30a2\u30ca\u30ed\u30b0\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af\u3067OLED\u306e\u4e38\u3092\u52d5\u304b\u3059<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<p class=\"qtranxs-available-languages-message qtranxs-available-languages-message-en\">Sorry, this entry is only available in <a href=\"https:\/\/jumbleat.com\/ja\/wp-json\/wp\/v2\/posts\/4538\" class=\"qtranxs-available-language-link qtranxs-available-language-link-ja\" title=\"\u65e5\u672c\u8a9e\">\u65e5\u672c\u8a9e<\/a>. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.<\/p><p><\/p>\n<section id=\"prolog\">\n<p><a href=\"https:\/\/jumbleat.com\/2016\/08\/17\/reduce_fluctuations\/\" target=\"_blank\">\u53ef\u5909\u62b5\u6297\u5668\u306e\u63fa\u3089\u304e\u3092\u8efd\u6e1b\u3059\u308b\u65b9\u6cd5<\/a>\u3092\u4ee5\u524d\u7d39\u4ecb\u3057\u307e\u3057\u305f\u304c\u3001\u3053\u306e\u65b9\u6cd5\u306f\u4ed6\u306e\u30d1\u30fc\u30c4\u3067\u3082\u5fdc\u7528\u3067\u304d\u305f\u308a\u3057\u307e\u3059\u3002\u300c\u30a2\u30ca\u30ed\u30b0\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af\u300d\u306a\u3093\u3066\u547c\u3070\u308c\u308b\u30d1\u30fc\u30c4\u3082\u3001<!--more-->\u539f\u7406\u7684\u306b\u306f\u53ef\u5909\u62b5\u6297\u5668\u304c\u7e26\u6a2a\u30672\u3064\u4e26\u3093\u3067\u3044\u308b\u3060\u3051\u306a\u306e\u3067\u901a\u7528\u3059\u308b\u306f\u305a\u3002<\/p>\n<p>\u305d\u3046\u3044\u3063\u305f\u308f\u3051\u3067\u3001\u30d1\u30fc\u30c4\u30b7\u30e7\u30c3\u30d7\u3067\u5b89\u304f\u3066\u5c0f\u3055\u3044\u3084\u3064\u3092\u624b\u306b\u5165\u308c\u305f\u3093\u3067\u3059\u304c\u3001\u5b89\u7269\u3060\u3051\u306b\u3001\u6271\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u306b\u3061\u3087\u3063\u3068\u82e6\u52b4\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u305d\u3093\u306a\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u306e\u7d4c\u7def\u3068\u30b9\u30b1\u30c3\u30c1\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u304d\u307e\u3059\u3002<br \/>\n <a href=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_ins_01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4564 size-medium\" src=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_ins_01-300x257.jpg\" width=\"300\" height=\"257\" srcset=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_ins_01-300x257.jpg 300w, https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_ins_01.jpg 700w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<\/section>\n<section id=\"chap_1\">\n<h2 class=\"h2_HLine mtm mbm\"><span class=\"ez-toc-section\" id=\"%E9%85%8D%E7%B7%9A%E5%9B%B3\"><\/span>\u914d\u7dda\u56f3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_breadboard.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4544\" src=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_breadboard.png\" alt=\"\" width=\"1443\" height=\"726\" srcset=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_breadboard.png 1443w, https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_breadboard-300x151.png 300w, https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_breadboard-768x386.png 768w\" sizes=\"auto, (max-width: 1443px) 100vw, 1443px\" \/><\/a><\/p>\n<h3 class=\"uLLine mtn mbs\"><span class=\"ez-toc-section\" id=\"%E5%BF%85%E8%A6%81%E3%81%AA%E3%82%82%E3%81%AE\"><\/span>\u5fc5\u8981\u306a\u3082\u306e<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul class=\"ls_algn\">\n<li>Arudino<\/li>\n<li>\u30a2\u30ca\u30ed\u30b0\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af<\/li>\n<li>OLED Graphic Display<\/li>\n<\/ul>\n<p>\u56f3\u306fArduino Nano\u3067\u3059\u304c\u7279\u306b\u7a2e\u985e\u306e\u6307\u5b9a\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305f\u3060\u3001Nano\u306e\u5834\u5408\u3001A4\u304cI2C\u306eSDA\u3001A5\u304cSCL\u3067\u3042\u308b\u3053\u3068\u306b\u5023\u3063\u3066\u63a5\u7d9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u3053\u3060\u3051\u6c17\u3092\u3064\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3 class=\"uLLine mts mbs\"><span class=\"ez-toc-section\" id=\"%E3%82%B8%E3%83%A7%E3%82%A4%E3%82%B9%E3%83%86%E3%82%A3%E3%83%83%E3%82%AF%E5%85%A5%E6%89%8B%E5%85%88\"><\/span>\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af\u5165\u624b\u5148<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul class=\"ls_algn\">\n<li><a href=\"http:\/\/akizukidenshi.com\/catalog\/g\/gK-10263\/\" target=\"_blank\">\u79cb\u6708\u96fb\u5b50<\/a><\/li>\n<li><a href=\"https:\/\/www.switch-science.com\/catalog\/2892\/\" target=\"_blank\">\u30b9\u30a4\u30c3\u30c1\u30b5\u30a4\u30a8\u30f3\u30b9<\/a><\/li>\n<li><a href=\"http:\/\/www.aitendo.com\/product\/7245\" target=\"_blank\">aitendo<\/a><\/li>\n<\/ul>\n<p>\u3061\u306a\u307f\u306b\u3082\u3046\u5c11\u3057\u3064\u304f\u308a\u306e\u3057\u3063\u304b\u308a\u3057\u305f\u30bf\u30a4\u30d7\u3067\u3082\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3053\u3061\u3089\u306f\u30b5\u30a4\u30ba\u306f\u5927\u304d\u304f\u3001\u5024\u6bb5\u3082\u9055\u3046\u3093\u3067\u3059\u304c\u3001\u6570\u5024\u306f\u6b63\u78ba\u306b\u51fa\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_ins_03.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4572 size-medium\" src=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_ins_03-300x150.jpg\" width=\"300\" height=\"150\" srcset=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_ins_03-300x150.jpg 300w, https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_ins_03.jpg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p class=\"amazon_list\">\n<iframe style=\"width: 120px; height: 240px;\" src=\"https:\/\/rcm-fe.amazon-adsystem.com\/e\/cm?t=jumbler02-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B016PXVH66&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=FFFFFF&amp;bg1=FFFFFF&amp;f=ifr\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"><\/iframe><iframe style=\"width: 120px; height: 240px;\" src=\"https:\/\/rcm-fe.amazon-adsystem.com\/e\/cm?t=jumbler02-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B01N97997E&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=FFFFFF&amp;bg1=FFFFFF&amp;f=ifr\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"><\/iframe><iframe style=\"width: 120px; height: 240px;\" src=\"https:\/\/rcm-fe.amazon-adsystem.com\/e\/cm?t=jumbler02-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B01J9DKKWQ&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=FFFFFF&amp;bg1=FFFFFF&amp;f=ifr\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"><\/iframe>\n<\/p>\n<\/section>\n<section id=\"chap_2\">\n<h2 class=\"h2_HLine mtm mbs\"><span class=\"ez-toc-section\" id=\"%E3%82%B9%E3%82%B1%E3%83%83%E3%83%81%E3%82%92%E6%9B%B8%E3%81%8F\"><\/span>\u30b9\u30b1\u30c3\u30c1\u3092\u66f8\u304f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3 class=\"h3_HLine mtn mbs\"><span class=\"ez-toc-section\" id=\"%E3%82%B8%E3%83%A7%E3%82%A4%E3%82%B9%E3%83%86%E3%82%A3%E3%83%83%E3%82%AF%E3%82%92analogRead\"><\/span>\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af\u3092analogRead<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u6700\u521d\u306f\u5358\u7d14\u306b\u7d20\u306e\u60c5\u5831\u3092\u898b\u3066\u307f\u307e\u3059\u3002\u8aad\u307f\u8fbc\u3093\u3060\u6570\u5024\u3092\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u306b\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\" title=\"Sample 1-1 JOY-STICK read\">#define STX A1\r\n#define STY A0\r\n\r\nconst byte stk_pins [2] = {STX, STY};\r\n\r\nvoid setup() {\r\n  for (byte i = 0 ; i &lt; 2 ; i++) pinMode(stk_pins[i], INPUT);\r\n  Serial.begin(38400);\r\n}\r\n\r\nvoid loop() {\r\n  Serial.print(\"X:\");\r\n  Serial.print(analogRead(stk_pins[0]));\r\n  Serial.print(\"  Y:\");\r\n  Serial.print(analogRead(stk_pins[1]));\r\n  Serial.println();\r\n}<\/pre>\n<p>\u3053\u3046\u3057\u3066\u898b\u308b\u3068\u3001\u30a2\u30ca\u30ed\u30b0\u5165\u529b\u306e\u63fa\u3089\u304e\u4ee5\u5916\u306b\u53ef\u5909\u62b5\u6297\u5668\u3068\u9055\u3046\u7279\u5fb4\u304c\u3042\u308a\u307e\u3059\u3002\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af\u306f\u96e2\u305b\u3070\u4e2d\u5fc3\u306b\u623b\u308b\u3088\u3046\u306a\u6a5f\u69cb\u306a\u306e\u3067\u3001\u89e6\u3063\u3066\u3044\u306a\u3044\u6642\u304c1023\u6bb5\u968e\u3092\u534a\u5206\u306b\u5272\u3063\u305f\u304f\u3089\u3044\u306e\u5024\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/screenshot_joystick_1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4570 size-medium\" src=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/screenshot_joystick_1-300x184.jpg\" width=\"300\" height=\"184\" srcset=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/screenshot_joystick_1-300x184.jpg 300w, https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/screenshot_joystick_1-768x471.jpg 768w, https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/screenshot_joystick_1-825x510.jpg 825w, https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/screenshot_joystick_1.jpg 878w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u66f4\u306b\u3001\u5b89\u7269\u306e\u305f\u3081\u304b\u305d\u306e\u4e2d\u5fc3\u4ed8\u8fd1\u306e\u5024\u304c\u30cf\u30c3\u30ad\u30ea\u3068\u5408\u3044\u307e\u305b\u3093\u3002\u30b9\u30c6\u30a3\u30c3\u30af\u3092\u50be\u3051\u3066\u6700\u4f4e\u5024\u304b\u3089\u623b\u3063\u305f\u3068\u304d\u3068\u3001\u6700\u9ad8\u5024\u304b\u3089\u623b\u3063\u305f\u3068\u304d\u3067\u306f\u4e2d\u5fc3\u306b\u306a\u3063\u305f\u3068\u304d\u306e\u5024\u304c\u9055\u3044\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_4571\" aria-describedby=\"caption-attachment-4571\" style=\"width: 167px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4571 size-full\" src=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/screenshot_joystick_2.jpg\" width=\"167\" height=\"102\" \/><figcaption id=\"caption-attachment-4571\" class=\"wp-caption-text\">X \u5927\u304d\u3044\u5024\u304b\u3089\u623b\u3063\u305f\u3068\u304d\u3001Y \u5c0f\u3055\u3044\u5024\u304b\u3089\u623b\u3063\u305f\u3068\u304d<\/figcaption><\/figure>\n<p>\u4e2d\u5fc3\u306b\u623b\u3063\u305f\u6642\u306e\u5024\u309220\u56de\u307b\u3069\u62fe\u3063\u3066\u7d71\u8a08\u3059\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/reserch_average.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4545\" src=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/reserch_average-300x224.png\" alt=\"\" width=\"300\" height=\"224\" srcset=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/reserch_average-300x224.png 300w, https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/reserch_average-768x574.png 768w, https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/reserch_average.png 1339w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>LOW\u304c\u4f4e\u3044\u5024\u304b\u3089\u4e2d\u5fc3\u306b\u623b\u3063\u305f\u3068\u304d\u3001HIGH\u304c\u9ad8\u3044\u5024\u304b\u3089\u306e\u5834\u5408\u3067\u3059\u3002\u304b\u306a\u308a\u306e\u30d0\u30e9\u3064\u304d\u304c\u3042\u308a\u307e\u3059\u3002\u56f3\u3067\u8868\u3059\u3068\u3053\u3046\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u00a0<\/p>\n<p><a href=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_value_range.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4547\" src=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_value_range.png\" alt=\"\" width=\"700\" height=\"243\" srcset=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_value_range.png 700w, https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_value_range-300x104.png 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<p class=\"mtm\">\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u8aad\u307f\u53d6\u3063\u305fanalogRead\u306e\u5024\u3092\u53d6\u6368\u3057\u3066\u6b63\u5e38\u306b\u4f7f\u3048\u308b\u3088\u3046\u306b\u5de5\u592b\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u5bfe\u7b56\u3068\u3057\u3066\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<ul class=\"ls_algn\">\n<li>\u5024\u3092\u52d5\u304b\u3057\u3066\u3044\u306a\u3044\u72b6\u614b\u30920\u4e2d\u5fc3\u3068\u3057\u305f\uff0b\uff0d\uff08\u6b63\u8ca0\uff09\u3068\u3057\u3066\u6271\u3046\u3002<\/li>\n<li>\u30d0\u30e9\u3064\u304d\u306e\u3042\u308b\u4e2d\u5fc3\u5024\u306f\u4e00\u5b9a\u306e\u5024\u3067\u3042\u308c\u30700\u306b\u3057\u3066\u3057\u307e\u3046\u3002<\/li>\n<\/ul>\n<p><a href=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_value_range_2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4548\" src=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_value_range_2.jpg\" alt=\"\" width=\"700\" height=\"243\" srcset=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_value_range_2.jpg 700w, https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_value_range_2-300x104.jpg 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<p><small>\uff0a\u56f3\u306e\u300c<\/small><small>\u4e2d\u5fc3\u70b9\u30fb0\u7bc4\u56f2\u300d\u306e\u5272\u5408\u304c\u5927\u304d\u3044\u3067\u3059\u304c\u3001\u898b\u3084\u3059\u3044\u3088\u3046\u6975\u7aef\u306b\u63cf\u304d\u307e\u3057\u305f\u3002\u3054\u4e86\u627f\u3092\u3002<\/small><\/p>\n<h3 class=\"h3_HLine mtm mbs\"><span class=\"ez-toc-section\" id=\"%E5%80%A4%E3%82%92%E6%AD%A3%E8%B2%A0%E3%81%AB%E3%81%99%E3%82%8B\"><\/span>\u5024\u3092\u6b63\u8ca0\u306b\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u4e2d\u5fc3\u3092\u5883\u306b\uff0b\uff0d\u3067\u8868\u73fe\u3059\u308b\u305f\u3081\u306b\u8aad\u307f\u53d6\u308a\u6642\u306b\u30a2\u30ca\u30ed\u30b0\u6700\u5927\u5024\u3067\u3042\u308b\u300c1023\u300d\u306e\u534a\u5206\u3092\u5f15\u304d\u307e\u3059\u3002\u3064\u3044\u3067\u306b\u3001\u63fa\u3089\u304e\u4f4e\u6e1b\u306e\u305f\u3081\u306b\u300c10\uff05\u66f4\u65b0\u300d\u3082\u3002<\/p>\n<pre class=\"start-line:11 lang:default mark:6 decode:true\" title=\"Sample 1-2 Plus and minus\">void loop() {\r\n  static short vr[2];\r\n\r\n  for (byte i = 0 ; i &lt; 2 ; i++)\r\n  {\r\n    vr[i] = vr[i] * 0.9 + (analogRead(stk_pins[i]) - 1023 \/ 2) * 0.1;\r\n  }\r\n\r\n  Serial.print(\"X:\");\r\n  Serial.print(analogRead(stk_pins[0]));\r\n  Serial.print(\"  Y:\");\r\n  Serial.print(analogRead(stk_pins[1]));\r\n\r\n  Serial.print(\"    x:\");\r\n  Serial.print(vr[0]);\r\n  Serial.print(\"  y:\");\r\n  Serial.print(vr[1]);\r\n  Serial.println();\r\n}<\/pre>\n<p>X,Y\u306e\u5024\u306f\u307e\u3068\u3081\u3066\u6271\u3044\u3084\u3059\u3044\u3088\u3046\u300cvr\u300d\u3068\u3044\u3046\u5909\u6570\u914d\u5217\u306b\u3057\u307e\u3059\u3002vr [0]\u306fX\u5ea7\u6a19\u3001vr [1]\u306fY\u5ea7\u6a19\u3067\u3059\u3002<\/p>\n<h3 class=\"h3_HLine mtm mbs\"><span class=\"ez-toc-section\" id=\"%E4%B8%AD%E5%BF%83%E3%81%AE%E3%83%90%E3%83%A9%E3%81%A4%E3%81%8D%E7%AF%84%E5%9B%B2%E3%82%920%E3%81%AB%E3%81%99%E3%82%8B\"><\/span>\u4e2d\u5fc3\u306e\u30d0\u30e9\u3064\u304d\u7bc4\u56f2\u30920\u306b\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>0\u306b\u306a\u308b\u7bc4\u56f2\u306f\uff0b\u5074\u3068\uff0d\u5074\u3067\u632f\u308c\u5e45\u304c\u9055\u3044\u307e\u3059\u3002\u306a\u306e\u3067\u3001\u4e00\u5b9a\u306e\u6570\u5024\u4ee5\u5185\u306b\u5165\u3063\u305f\u3082\u306e\u306f0\u3068\u3057\u3066\u9664\u5916\u3057\u3066\u3084\u308a\u307e\u3059\u3002\u305d\u306e\u5883\u754c\u5024\u306fVR_IDLE\u3068\u3044\u3046\u5b9a\u6570\u3067\uff0b\uff0d60\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"start-line:11 lang:default mark:5,11 decode:true\" title=\"Sample 1-3 cut ambiguous numbers\">void loop() {\r\n  static short vr[2];\r\n  short pos[2];\r\n\r\n#define VR_IDLE 60\r\n\r\n  for (byte i = 0 ; i &lt; 2 ; i++)\r\n  {\r\n    vr[i] = vr[i] * 0.9 + (analogRead(stk_pins[i]) - 1023 \/ 2) * 0.1;\r\n    char deg = (vr[i] &gt; 0) ? 1 : -1;\r\n    pos[i] = (abs(vr[i]) &lt; VR_IDLE) ? 0 : vr[i] - (VR_IDLE * deg);\r\n  }\r\n\r\n  Serial.print(\"X:\");\r\n  Serial.print(analogRead(stk_pins[0]));\r\n  Serial.print(\"  Y:\");\r\n  Serial.print(analogRead(stk_pins[1]));\r\n\r\n  Serial.print(\"    x:\");\r\n  Serial.print(pos[0]);\r\n  Serial.print(\"  y:\");\r\n  Serial.print(pos[1]);\r\n  Serial.println();\r\n}<\/pre>\n<p>abs\u95a2\u6570\u3067\u6574\u6570\u306b\u3057\u305f\u5024\u304cVR_IDLE\u3088\u308a\u4f4e\u3051\u308c\u3070\u30010\u3068\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"toolbar-overlay:false toolbar-hide:false toolbar-delay:false show-title:false marking:false ranges:false nums:false wrap-toggle:false plain:false copy:false popup:false scroll:false expand-toggle:false decode-attributes:false trim-whitespace:false trim-code-tag:false mixed:false lang:default decode:true\">if(abs(vr [0]) &gt; 0) pos [0] = 0;<\/pre>\n<p class=\"mtm\">\u305d\u306e\u5883\u754c\u306b\u5f15\u3063\u304b\u304b\u3089\u306a\u3051\u308c\u3070\u52d5\u304b\u3057\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3001\u4f59\u767d\u3068\u3057\u3066\u524a\u3063\u305fVR_IDLE\u306e60\u500b\u5206\u3092\u30b7\u30d5\u30c8\u3057\u3064\u3064\u6b63\u898f\u306e\u8aad\u307f\u53d6\u308a\u3068\u3057\u3066\u4ee3\u5165\u3002\u305d\u306e\u6642\u3001\u30b7\u30d5\u30c8\u3059\u308b\u65b9\u5411\u304c\u6b63\u8ca0\u3067\u9055\u3046\u306e\u3067\u3001deg\u3067\u30de\u30a4\u30ca\u30b9\u65b9\u5411\u304b\u3069\u3046\u304b\u306e\u6307\u5b9a\u3092\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"toolbar-overlay:false toolbar-hide:false toolbar-delay:false show-title:false marking:false ranges:false nums:false wrap-toggle:false plain:false copy:false popup:false scroll:false expand-toggle:false decode-attributes:false trim-whitespace:false trim-code-tag:false mixed:false lang:default decode:true\">char deg = (vr [0] &gt; 0) ? 1 : -1;\r\npos = \u00a0vr [0] - (VR_IDLE * deg);<\/pre>\n<p>\u3053\u308c\u3092For\u6587\u30672\u56de\u7e70\u308a\u8fd4\u3059\u3053\u3068\u3067X\u3001Y\u7528\u306e\u5024\u3092\u51e6\u7406\u3055\u305b\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3 class=\"h3_HLine mtm mbs\"><span class=\"ez-toc-section\" id=\"%E5%80%A4%E3%82%92%E6%8F%83%E3%81%88%E3%82%8B\"><\/span>\u5024\u3092\u63c3\u3048\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u6700\u5f8c\u306b\uff0b\u3068\uff0d\u3067\u6700\u5927\u5024\u304c\u5fae\u5999\u306b\u9055\u3046\u306e\u3067\u3001constrain\u95a2\u6570\u3067\u540c\u3058\u5e45\u306b\u306a\u308b\u3088\u3046\u5236\u9650\u3057\u3061\u3083\u3044\u307e\u3059\u3002VRNG\u306e\u6570\u5024\u304c\u305d\u308c\u306b\u3042\u305f\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"start-line:11 lang:default mark:6,13 decode:true\" title=\"Sample 1-4 limit range\">void loop() {\r\n  static short vr[2];\r\n  short pos[2];\r\n\r\n#define VR_IDLE 60\r\n#define VRNG (500 - VR_IDLE)\r\n\r\n  for (byte i = 0 ; i &lt; 2 ; i++)\r\n  {\r\n    vr[i] = vr[i] * 0.9 + (analogRead(stk_pins[i]) - 1023 \/ 2) * 0.1;\r\n    char deg = (vr[i] &gt; 0) ? 1 : -1;\r\n    pos[i] = (abs(vr[i]) &lt; VR_IDLE) ? 0 : vr[i] - (VR_IDLE * deg);\r\n    pos[i] = constrain(pos[i], VRNG * -1, VRNG);\r\n  }<\/pre>\n<p>\u3053\u306e\u7d50\u679c\u3001\uff0b\uff0d\u3067\u30c8\u30fc\u30bf\u30eb880\u306e\u5206\u89e3\u80fd\u3068\u3044\u3046\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af\u306b\u306a\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u30b9\u30c6\u30a3\u30c3\u30af\u306e\u4e2d\u5fc3\u304b\u3089\u306e\u4e00\u5b9a\u7bc4\u56f2\u3068\u7aef\u306f\u300c\u30af\u30ed\u30c3\u30d7\u300d\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u3001\u305d\u306e\u6a5f\u80fd\u3092\u6e80\u904d\u306a\u304f\u4f7f\u3048\u3066\u3044\u308b\u3053\u3068\u306b\u306f\u306a\u3063\u3066\u307e\u305b\u3093\u3002\u307e\u3042\u3001\u305d\u3093\u306a\u905c\u8272\u306f\u306a\u3044\u3067\u3059\u3051\u3069\u3002<\/p>\n<p>\u3042\u3068\u306f\u7372\u5f97\u3057\u305fpos\u306e\u6570\u5024\u3092\u3069\u3046\u4f7f\u3046\u304b\u3067\u3059\u3002<\/p>\n<\/section>\n<section id=\"chap_3\">\n<h2 class=\"h2_HLine mtm mbs\"><span class=\"ez-toc-section\" id=\"%E3%81%BE%E3%81%A8%E3%82%81_%E3%82%B9%E3%82%B1%E3%83%83%E3%83%81\"><\/span>\u307e\u3068\u3081 \u30b9\u30b1\u30c3\u30c1<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u6700\u5f8c\u306b\u3001\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af\u306e\u6570\u5024\u3067\u3001OLED\u306b\u63cf\u3044\u305f\u4e38\u304c\u52d5\u304f\u30b9\u30b1\u30c3\u30c1\u3092\u66f8\u304d\u307e\u3059\u3002<\/p>\n<p>\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af\u306e\u6570\u5024\u7372\u5f97\u306b\u95a2\u3059\u308b\u51e6\u7406\u306fJSTICK\u95a2\u6570\u306b\u307e\u3068\u3081\u3066\u3057\u307e\u3063\u3066\u3044\u307e\u3059\u3002JSTICK\u95a2\u6570\u306b\u30d4\u30f3\u756a\u53f7\uff08stk_pins [2] = {STX, STY}\uff09\u3092\u9001\u308b\u3053\u3068\u3067\u3001X\u304bY\u8ef8\u306e\u5024\u304c\u5e30\u3063\u3066\u304d\u307e\u3059\u3002\u5206\u89e3\u80fd\u306f\uff0b\u3068\uff0d\u3067\u305d\u308c\u305e\u308c440\u306e\u7bc4\u56f2\u3067\u3059\u3002\u305d\u308c\u3092128*64\u306eOLED\u30b5\u30a4\u30ba\u306bmap\u3059\u308b\u3053\u3068\u3067\u4e38\u306e\u52d5\u304d\u304c\u63cf\u753b\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u3002\u3061\u306a\u307f\u306b\u3001\u66f4\u65b0\u56de\u6570\u3092\u5897\u3084\u3059\u3053\u3068\u3067\u3001u8g\u63cf\u753b\u3067\u306e\u9045\u5ef6\u5bfe\u7b56\u3092\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>JSTICK\u304b\u3089\u5e30\u3063\u3066\u304d\u305f\u5024\u3092map\u95a2\u6570\u3067\u7bc4\u56f2\u8abf\u6574\u3059\u308c\u3070\u3001\u30e2\u30fc\u30bf\u3068\u304b\u4ed6\u306e\u7528\u9014\u3078\u7c21\u5358\u306b\u6d41\u7528\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u6b63\u78ba\u306a\u5024\u304c\u51fa\u305b\u308b\u30d1\u30fc\u30c4\u3092\u4f7f\u3063\u3066\u3044\u308b\u65b9\u306f\u3001VR_IDLE\u306e\u5207\u6368\u3066\u6570\u5024\u3092\u4e0b\u3052\u3066\u3044\u304f\u3068\u3088\u308a\u7d30\u304b\u3044\u52d5\u304d\u3092\u62fe\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u304f\u304b\u3068\u601d\u3044\u307e\u3059\uff08\u5206\u89e3\u80fd\u3082\u5909\u308f\u3063\u3066\u304d\u307e\u3059\uff09\u3002<\/p>\n<p><a href=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_ins_02.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4565 aligncenter\" src=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_ins_02.jpg\" alt=\"\" width=\"825\" height=\"300\" srcset=\"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_ins_02.jpg 825w, https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_ins_02-300x109.jpg 300w, https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/joystick_ins_02-768x279.jpg 768w\" sizes=\"auto, (max-width: 825px) 100vw, 825px\" \/><\/a><\/p>\n<h3 class=\"h3_HLine mtm mbs\"><span class=\"ez-toc-section\" id=\"%E3%82%A2%E3%83%8A%E3%83%AD%E3%82%B0%E3%82%B8%E3%83%A7%E3%82%A4%E3%82%B9%E3%83%86%E3%82%A3%E3%83%83%E3%82%AF%E3%81%A7OLED%E3%81%AE%E4%B8%B8%E3%82%92%E5%8B%95%E3%81%8B%E3%81%99\"><\/span>\u30a2\u30ca\u30ed\u30b0\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af\u3067OLED\u306e\u4e38\u3092\u52d5\u304b\u3059<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre class=\"lang:default decode:true\" title=\"Move a ball with Joy Stick\">#define STX A1\r\n#define STY A0\r\n#define VR_IDLE 60\r\n#define VRNG (500 - VR_IDLE)\r\n\r\nconst byte stk_pins [2] = {STX, STY};\r\n\r\n#include \"U8glib.h\"\r\nU8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE | U8G_I2C_OPT_DEV_0); \/\/ OLED \/ I2C \/ TWI\r\n\/\/ SDA 4\/ SCL 5\r\n\r\n\r\n\/\/  read joystick value  \/\/\r\n\r\nshort JSTICK(byte vr_pin) {\r\n  static short vr[2];\r\n  vr[vr_pin] = vr[vr_pin] * 0.9 + (analogRead(stk_pins[vr_pin]) - 1023 \/ 2) * 0.1;\r\n  return vr[vr_pin];\r\n}\r\n\r\n\r\n\/\/ draw to OLED \/\/\r\n\r\nvoid DRAW(short x, short y) {\r\n#define C_CIZE 4\r\n  x = map(x, VRNG * -1, VRNG, C_CIZE, 127 - C_CIZE);\r\n  y = map(y, VRNG * -1, VRNG, C_CIZE, 63 - C_CIZE);\r\n\r\n  u8g.firstPage();\r\n  do {\r\n    u8g.drawDisc(127 - x, y, C_CIZE);\r\n    for (byte i = 0 ; i &lt; 2 ; i++) JSTICK(i);\r\n  } while (u8g.nextPage());\r\n}\r\n\r\n\r\nvoid setup() {\r\n  for (byte i = 0 ; i &lt; 2 ; i++) pinMode(stk_pins[i], INPUT);\r\n  Serial.begin(38400);\r\n  u8g.setColorIndex(1);  \/\/ pixel on\r\n}\r\n\r\n\r\nvoid loop() {\r\n  short pos[2];\r\n\r\n  for (byte i = 0 ; i &lt; 2 ; i++)\r\n  {\r\n    \/\/ get joystick value\r\n    pos[i] = JSTICK(i);\r\n    \/\/ get positive or negative direction\r\n    char deg = (pos[i] &gt; 0) ? 1 : -1;\r\n    \/\/ cut off ambiguous range\r\n    pos[i] = (abs(pos[i]) &lt; VR_IDLE) ? 0 : pos[i] - (VR_IDLE * deg);\r\n    \/\/ limit in range\r\n    pos[i] = constrain(pos[i], VRNG * -1, VRNG);\r\n  }\r\n\r\n  \/\/ value to Serial monitor - comment out if joystick response is slow\r\n  Serial.print(\"X:\");\r\n  Serial.print(analogRead(stk_pins[0]));\r\n  Serial.print(\"  Y:\");\r\n  Serial.print(analogRead(stk_pins[1]));\r\n\r\n  Serial.print(\"    x:\");\r\n  Serial.print(pos[0]);\r\n  Serial.print(\"  y:\");\r\n  Serial.print(pos[1]);\r\n  Serial.println();\r\n\r\n  \/\/draw to OLED\r\n  DRAW(pos[0], pos[1]);\r\n}<\/pre>\n<\/section>\n<section id=\"epilog\"><\/section>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Sorry, this entry is only available in \u65e5\u672c\u8a9e. For the sake of viewer convenience, the content is shown below in  &hellip; <a href=\"https:\/\/jumbleat.com\/en\/2017\/01\/29\/joystick_contorller\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">(\u65e5\u672c\u8a9e) Arduino\u3067\u30b8\u30e7\u30a4\u30b9\u30c6\u30a3\u30c3\u30af\u3092\u4f7f\u3046<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":4563,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5,8],"tags":[41,342,338,37,341,343,339,126,344,340],"class_list":["post-4538","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-electric","tag-analogread","tag-controller","tag-joystick","tag-variable-resistor","tag-341","tag-343","tag-339","tag-126","tag-344","tag-340"],"jetpack_featured_media_url":"https:\/\/jumbleat.com\/wp-content\/uploads\/2017\/01\/e_catch_joystick.jpg","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7JALB-1bc","jetpack_likes_enabled":false,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/jumbleat.com\/en\/wp-json\/wp\/v2\/posts\/4538","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jumbleat.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jumbleat.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jumbleat.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jumbleat.com\/en\/wp-json\/wp\/v2\/comments?post=4538"}],"version-history":[{"count":0,"href":"https:\/\/jumbleat.com\/en\/wp-json\/wp\/v2\/posts\/4538\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jumbleat.com\/en\/wp-json\/wp\/v2\/media\/4563"}],"wp:attachment":[{"href":"https:\/\/jumbleat.com\/en\/wp-json\/wp\/v2\/media?parent=4538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jumbleat.com\/en\/wp-json\/wp\/v2\/categories?post=4538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jumbleat.com\/en\/wp-json\/wp\/v2\/tags?post=4538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}