{"id":540,"date":"2016-11-26T14:56:46","date_gmt":"2016-11-26T06:56:46","guid":{"rendered":"https:\/\/hpcgoblog.wordpress.com\/?p=540"},"modified":"2026-01-13T10:14:32","modified_gmt":"2026-01-13T02:14:32","slug":"%e6%90%96%e6%a1%bfs01_joystick","status":"publish","type":"post","link":"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/","title":{"rendered":"S01_JoyStick(\u6416\u687f)"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">\u3010\u8aaa\u660e\u3011<\/h3>\n\n\n\n<p>\u6416\u687f\u662f\u4e00\u7a2e\u985e\u6bd4\u8a0a\u865f\u7684\u5143\u4ef6\uff0c\u5b83\u53ef\u4ee5\u7528\u4f86\u63a7\u5236 Arduino\uff0c\u5b83\u4e5f\u662f\u4e00\u7a2e\u57fa\u672c\u7684\u96fb\u4f4d\u5668\uff0c\u56e0\u6b64\u5b83\u7684\u56de\u50b3\u503c\u53ef\u4ee5\u88ab\u4e8b\u5148\u5b9a\u7fa9\u7684\u503c\u4f86\u8868\u793a\uff0c\u53ea\u8981\u6309\u58d3\u6216\u79fb\u52d5\u6416\u687f\u5c31\u53ef\u4ee5\u770b\u5230\u503c\u7684\u8b8a\u5316\uff0c\u85c9\u7531\u9019\u503c\u5f88\u5bb9\u6613\u9032\u884c Arduino \u7684\u64cd\u4f5c\u3002<\/p>\n\n\n\n<p>\u9019\u7a2e\u6416\u687f\u662f\u5177\u5099 X , Y \u5169\u8ef8\uff0c\u4f7f\u7528 2 \u500b 10 K\u03a9\uff0c\u56de\u50b3\u7684\u503c\u4ecb\u65bc 0 ~ 1023\uff0c\u53ca\u4e00\u500b Z \u8ef8\u6309\u9215\uff0c\u56de\u50b30\u82071\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u3010\u96f6\u4ef6\u8868\u3011<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>No.<\/strong><\/td><td><strong>\u96f6\u4ef6\u540d\u7a31<\/strong><\/td><td><strong>\u6578\u91cf<\/strong><\/td><\/tr><tr><td><strong>1<\/strong><\/td><td>LCD1602_I2C<\/td><td>1<\/td><\/tr><tr><td><strong>2<\/strong><\/td><td>JoyStick<\/td><td>1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u3010\u96f6\u4ef6\u63a5\u8173\u3011<\/h3>\n\n\n\n<p>\u8acb\u53c3\u8003 \u300c<a href=\"https:\/\/cfnavi.org\/aitech\/lcd1602_i2c-%e9%a1%af%e7%a4%ba%e5%99%a8\/\" target=\"_blank\" rel=\"noreferrer noopener sponsored nofollow\">LCD1602_I2C \u986f\u793a\u5668<\/a>\u300d \u63a5\u8173\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>No.<\/strong><\/td><td><strong>\u96f6\u4ef6\u63a5\u8173<\/strong><\/td><td><strong>UNO R3 \u63a5\u8173<\/strong><\/td><\/tr><tr><td>1<\/td><td>JoyStick&nbsp;: SW<\/td><td>D2<\/td><\/tr><tr><td>2<\/td><td>JoyStick : VRy<\/td><td>A1<\/td><\/tr><tr><td>3<\/td><td>JoyStick : VRx<\/td><td>A0<\/td><\/tr><tr><td>4<\/td><td>JoyStick : Vcc<\/td><td>Vcc<\/td><\/tr><tr><td>5<\/td><td>JoyStick : GND<\/td><td>GND<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u3010\u6309\u7dda\u5716\u3011<\/h3>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1971\" height=\"1203\" src=\"https:\/\/hpcgoblog.wordpress.com\/wp-content\/uploads\/2016\/11\/s01_joystick-1.png?w=1024\" alt=\"\" class=\"wp-image-1171\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u3010\u7a0b\u5f0f\u78bc\u3011<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>\/*\n * \u793a\u7bc4\u6416\u687f\u7684\u64cd\u4f5c\uff0c\u5c07 X, Y, Z \u8ef8\u7684\u503c\u986f\u793a\u51fa\u4f86\n *\/\n\n\/\/ \u4f7f\u7528 LCD1602 I2C \u986f\u793a\u5668\u986f\u793a\u7d50\u679c\n#include &lt;LiquidCrystal_I2C.h&gt;\n\/\/ \u5b9a\u7fa9 LCD \u5143\u4ef6(\u4f4d\u7f6e 0x27 \u53ca 16x2 \u7684\u986f\u793a)\nLiquidCrystal_I2C lcd(0x27,16,2);  \n\n\/\/ \u5b9a\u7fa9\u6416\u687f\u7684\u63a5\u8173\u53ca\u8cc7\u6599\u5132\u5b58\u8b8a\u6578\nconst int xPin = 0;             \/\/ \u985e\u6bd4\u63a5\u8173\u9023\u63a5\u65bc X \u8ef8\u3002\nconst int yPin = 1;             \/\/ \u985e\u6bd4\u63a5\u8173\u9023\u63a5\u65bc Y \u8ef8\u3002\nconst int swPin = 2;            \/\/ SW \u6578\u4f4d\u63a5\u8173\u9023\u63a5\u65bc Z \u8ef8\u6309\u9215\u3002\nunsigned int xValue;            \/\/ \u5132\u5b58 X \u8ef8\u7684\u503c\u3002\nunsigned int yValue;            \/\/ \u5132\u5b58 Y \u8ef8\u7684\u503c\u3002\nunsigned int zValue;            \/\/ \u5132\u5b58 Z \u8ef8\u7684\u503c\u3002\n\n\/\/ \u7a0b\u5f0f\u521d\u5316\u8a2d\u5b9a\nvoid setup() {\n  lcd.begin();                  \/\/ \u958b\u555f LCD \u5143\u4ef6\n  lcd.backlight();              \/\/ \u958b\u555f LCD \u80cc\u5149\n  pinMode(swPin, INPUT);        \/\/ \u8a2d\u5b9a\u6309\u9215\u8173\u4f4d\u70ba\u8f38\u5165\u6a21\u5f0f\n  digitalWrite(swPin, HIGH);    \/\/ \u5fc5\u9808\u5c07\u6309\u9215\u8173\u4f4d\u96fb\u4f4d\u62c9\u6607\n}\n\n\/\/ \u4e3b\u7a0b\u5f0f\u8ff4\u5708 \nvoid loop() {\n  getJoyStickValue();           \/\/ \u8b80\u53d6\u6416\u687f\u7684\u503c\n  displayResult();              \/\/ \u986f\u793a\u8b80\u53d6\u8cc7\u6599\u7684\u503c\n}\n\n\/\/ \u8b80\u53d6\u6416\u687f\u7684\u503c\nvoid getJoyStickValue() {\n  xValue = analogRead(xPin);    \/\/ \u8b80\u53d6 X \u8ef8\u7684\u503c\n  yValue = analogRead(yPin);    \/\/ \u8b80\u53d6 Y \u8ef8\u7684\u503c\n  zValue = digitalRead(swPin);  \/\/ \u8b80\u53d6 Z \u8ef8\u7684\u503c\n}\n\n\/\/ \u986f\u793a\u8b80\u53d6\u8cc7\u6599\u7684\u503c\nvoid displayResult() {\n  \/\/ \u986f\u793a X \u503c\n  lcd.setCursor(0,0);\n  lcd.print(\"X:\");\n  lcd.print(xValue);\n  lcd.print(\"   \");\n  \/\/ \u986f\u793a Y \u503c\n  lcd.setCursor(8,0);\n  lcd.print(\"Y:\");\n  lcd.print(yValue);\n  lcd.print(\"   \");\n  \/\/ \u986f\u793a Z \u503c\n  lcd.setCursor(0,1);\n  lcd.print(\"Z:\");\n  lcd.print(zValue);\n}<\/code><\/pre>\n\n\n\n<div class=\"wp-block-stackable-button-group stk-block-button-group stk-block stk-3459fbc\" data-block-id=\"3459fbc\"><div class=\"stk-row stk-inner-blocks stk-block-content stk-button-group\">\n<div class=\"wp-block-stackable-button stk-block-button is-style-ghost stk-block stk-006c953\" data-block-id=\"006c953\"><style>.stk-006c953 .stk-button{background:transparent !important;}.stk-006c953 .stk-button:hover:after{background:transparent !important;opacity:1 !important;}:where(.stk-hover-parent:hover,  .stk-hover-parent.stk--is-hovered) .stk-006c953 .stk-button:after{background:transparent !important;opacity:1 !important;}.stk-006c953 .stk-button:before{border-style:solid !important;}<\/style><a class=\"stk-link stk-button stk--hover-effect-darken\" href=\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/LiquidCrystal_I2C.zip\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"stk-button__inner-text\">\u4e0b\u8f09\u7a0b\u5f0f\u5eab<\/span><\/a><\/div>\n\n\n\n<div class=\"wp-block-stackable-button stk-block-button is-style-ghost stk-block stk-be289f3\" data-block-id=\"be289f3\"><style>.stk-be289f3 .stk-button{background:transparent !important;}.stk-be289f3 .stk-button:hover:after{background:transparent !important;opacity:1 !important;}:where(.stk-hover-parent:hover,  .stk-hover-parent.stk--is-hovered) .stk-be289f3 .stk-button:after{background:transparent !important;opacity:1 !important;}.stk-be289f3 .stk-button:before{border-style:solid !important;}<\/style><a class=\"stk-link stk-button stk--hover-effect-darken\" href=\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/S01_JoyStick.zip\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"stk-button__inner-text\">\u4e0b\u8f09\u7a0b\u5f0f\u78bc<\/span><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">&nbsp;\u203b &nbsp;\u5206\u4eab\u7d50\u675f &nbsp;\u203b<\/h3>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"<p>\u3010\u8aaa\u660e\u3011 \u6416\u687f\u662f\u4e00\u7a2e\u985e\u6bd4\u8a0a\u865f\u7684\u5143\u4ef6\uff0c\u5b83\u53ef\u4ee5\u7528\u4f86\u63a7\u5236 Arduino\uff0c\u5b83\u4e5f\u662f\u4e00\u7a2e\u57fa\u672c\u7684\u96fb\u4f4d\u5668\uff0c\u56e0\u6b64\u5b83\u7684\u56de\u50b3\u503c\u53ef\u4ee5 [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":1017,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[86],"tags":[94,95,97,99],"class_list":["post-540","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","tag-button","tag-joystick","tag-lcd","tag-sensor"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>S01_JoyStick(\u6416\u687f) - \u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cfnavi.org\/aitech\/\u6416\u687fs01_joystick\/\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"S01_JoyStick(\u6416\u687f) - \u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280\" \/>\n<meta property=\"og:description\" content=\"\u3010\u8aaa\u660e\u3011 \u6416\u687f\u662f\u4e00\u7a2e\u985e\u6bd4\u8a0a\u865f\u7684\u5143\u4ef6\uff0c\u5b83\u53ef\u4ee5\u7528\u4f86\u63a7\u5236 Arduino\uff0c\u5b83\u4e5f\u662f\u4e00\u7a2e\u57fa\u672c\u7684\u96fb\u4f4d\u5668\uff0c\u56e0\u6b64\u5b83\u7684\u56de\u50b3\u503c\u53ef\u4ee5 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cfnavi.org\/aitech\/\u6416\u687fs01_joystick\/\" \/>\n<meta property=\"og:site_name\" content=\"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280\" \/>\n<meta property=\"article:published_time\" content=\"2016-11-26T06:56:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-13T02:14:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/02\/s01_joystick.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"1195\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4e58\u8c50\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005:\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u4e58\u8c50\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9810\u4f30\u95b1\u8b80\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/\"},\"author\":{\"name\":\"\u4e58\u8c50\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/#\/schema\/person\/8372c52e316d60d3fb84637968e786bb\"},\"headline\":\"S01_JoyStick(\u6416\u687f)\",\"datePublished\":\"2016-11-26T06:56:46+00:00\",\"dateModified\":\"2026-01-13T02:14:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/\"},\"wordCount\":38,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/#organization\"},\"image\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/02\/s01_joystick.jpg\",\"keywords\":[\"Button\",\"Joystick\",\"LCD\",\"Sensor\"],\"articleSection\":[\"Arduino\"],\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/\",\"url\":\"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/\",\"name\":\"S01_JoyStick(\u6416\u687f) - \u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280\",\"isPartOf\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/02\/s01_joystick.jpg\",\"datePublished\":\"2016-11-26T06:56:46+00:00\",\"dateModified\":\"2026-01-13T02:14:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#primaryimage\",\"url\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/02\/s01_joystick.jpg\",\"contentUrl\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/02\/s01_joystick.jpg\",\"width\":1600,\"height\":1195},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\/\/cfnavi.org\/aitech\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"S01_JoyStick(\u6416\u687f)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/#website\",\"url\":\"https:\/\/cfnavi.org\/aitech\/\",\"name\":\"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280\",\"description\":\"\u9019\u662f\u4e58\u8c50\u9818\u822a\u751f\u547d\u8266\u968a\u90e8\u843d\u683c\uff0c\u5206\u4eab\u5404\u5f0f\u7684\u8cc7\u8a0a\uff0c\u5982AI\u3001\u79d1\u629c\u3001\u6295\u8cc7\u7406\u8ca1\u3001\u8b80\u66f8\u5fc3\u5f97\u3001\u9000\u4f11\u751f\u6d3b\u3001 \u65c5\u904a\u2025\u7b49\u8cc7\u8a0a\u3002\",\"publisher\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cfnavi.org\/aitech\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/#organization\",\"name\":\"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280\",\"url\":\"https:\/\/cfnavi.org\/aitech\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1.png\",\"contentUrl\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1.png\",\"width\":800,\"height\":800,\"caption\":\"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280\"},\"image\":{\"@id\":\"https:\/\/cfnavi.org\/aitech\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/#\/schema\/person\/8372c52e316d60d3fb84637968e786bb\",\"name\":\"\u4e58\u8c50\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/cfnavi.org\/aitech\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1-96x96.png\",\"contentUrl\":\"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1-96x96.png\",\"caption\":\"\u4e58\u8c50\"},\"url\":\"https:\/\/cfnavi.org\/aitech\/author\/chengfeng\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"S01_JoyStick(\u6416\u687f) - \u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cfnavi.org\/aitech\/\u6416\u687fs01_joystick\/","og_locale":"zh_TW","og_type":"article","og_title":"S01_JoyStick(\u6416\u687f) - \u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280","og_description":"\u3010\u8aaa\u660e\u3011 \u6416\u687f\u662f\u4e00\u7a2e\u985e\u6bd4\u8a0a\u865f\u7684\u5143\u4ef6\uff0c\u5b83\u53ef\u4ee5\u7528\u4f86\u63a7\u5236 Arduino\uff0c\u5b83\u4e5f\u662f\u4e00\u7a2e\u57fa\u672c\u7684\u96fb\u4f4d\u5668\uff0c\u56e0\u6b64\u5b83\u7684\u56de\u50b3\u503c\u53ef\u4ee5 [&hellip;]","og_url":"https:\/\/cfnavi.org\/aitech\/\u6416\u687fs01_joystick\/","og_site_name":"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280","article_published_time":"2016-11-26T06:56:46+00:00","article_modified_time":"2026-01-13T02:14:32+00:00","og_image":[{"width":1600,"height":1195,"url":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/02\/s01_joystick.jpg","type":"image\/jpeg"}],"author":"\u4e58\u8c50","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005:":"\u4e58\u8c50","\u9810\u4f30\u95b1\u8b80\u6642\u9593":"1 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#article","isPartOf":{"@id":"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/"},"author":{"name":"\u4e58\u8c50","@id":"https:\/\/cfnavi.org\/aitech\/#\/schema\/person\/8372c52e316d60d3fb84637968e786bb"},"headline":"S01_JoyStick(\u6416\u687f)","datePublished":"2016-11-26T06:56:46+00:00","dateModified":"2026-01-13T02:14:32+00:00","mainEntityOfPage":{"@id":"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/"},"wordCount":38,"commentCount":0,"publisher":{"@id":"https:\/\/cfnavi.org\/aitech\/#organization"},"image":{"@id":"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#primaryimage"},"thumbnailUrl":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/02\/s01_joystick.jpg","keywords":["Button","Joystick","LCD","Sensor"],"articleSection":["Arduino"],"inLanguage":"zh-TW","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/","url":"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/","name":"S01_JoyStick(\u6416\u687f) - \u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280","isPartOf":{"@id":"https:\/\/cfnavi.org\/aitech\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#primaryimage"},"image":{"@id":"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#primaryimage"},"thumbnailUrl":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/02\/s01_joystick.jpg","datePublished":"2016-11-26T06:56:46+00:00","dateModified":"2026-01-13T02:14:32+00:00","breadcrumb":{"@id":"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/"]}]},{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#primaryimage","url":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/02\/s01_joystick.jpg","contentUrl":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2019\/02\/s01_joystick.jpg","width":1600,"height":1195},{"@type":"BreadcrumbList","@id":"https:\/\/cfnavi.org\/aitech\/%e6%90%96%e6%a1%bfs01_joystick\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/cfnavi.org\/aitech\/"},{"@type":"ListItem","position":2,"name":"S01_JoyStick(\u6416\u687f)"}]},{"@type":"WebSite","@id":"https:\/\/cfnavi.org\/aitech\/#website","url":"https:\/\/cfnavi.org\/aitech\/","name":"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280","description":"\u9019\u662f\u4e58\u8c50\u9818\u822a\u751f\u547d\u8266\u968a\u90e8\u843d\u683c\uff0c\u5206\u4eab\u5404\u5f0f\u7684\u8cc7\u8a0a\uff0c\u5982AI\u3001\u79d1\u629c\u3001\u6295\u8cc7\u7406\u8ca1\u3001\u8b80\u66f8\u5fc3\u5f97\u3001\u9000\u4f11\u751f\u6d3b\u3001 \u65c5\u904a\u2025\u7b49\u8cc7\u8a0a\u3002","publisher":{"@id":"https:\/\/cfnavi.org\/aitech\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cfnavi.org\/aitech\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":"Organization","@id":"https:\/\/cfnavi.org\/aitech\/#organization","name":"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280","url":"https:\/\/cfnavi.org\/aitech\/","logo":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/cfnavi.org\/aitech\/#\/schema\/logo\/image\/","url":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1.png","contentUrl":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1.png","width":800,"height":800,"caption":"\u4e58\u8c50\u9818\u822a-\uff21\uff29\u79d1\u6280"},"image":{"@id":"https:\/\/cfnavi.org\/aitech\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/cfnavi.org\/aitech\/#\/schema\/person\/8372c52e316d60d3fb84637968e786bb","name":"\u4e58\u8c50","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/cfnavi.org\/aitech\/#\/schema\/person\/image\/","url":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1-96x96.png","contentUrl":"https:\/\/cfnavi.org\/aitech\/wp-content\/uploads\/2026\/01\/CFN-R1-96x96.png","caption":"\u4e58\u8c50"},"url":"https:\/\/cfnavi.org\/aitech\/author\/chengfeng\/"}]}},"_links":{"self":[{"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/posts\/540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/comments?post=540"}],"version-history":[{"count":3,"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/posts\/540\/revisions"}],"predecessor-version":[{"id":2998,"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/posts\/540\/revisions\/2998"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/media\/1017"}],"wp:attachment":[{"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/media?parent=540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/categories?post=540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cfnavi.org\/aitech\/wp-json\/wp\/v2\/tags?post=540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}