{"id":1129,"date":"2016-09-26T17:29:09","date_gmt":"2016-09-26T09:29:09","guid":{"rendered":"https:\/\/www.webteach.tw\/?p=1129"},"modified":"2016-09-26T17:29:09","modified_gmt":"2016-09-26T09:29:09","slug":"arduino-usb-host-shield-%e9%80%a3%e6%8e%a5usb%e9%8d%b5%e7%9b%a4","status":"publish","type":"post","link":"https:\/\/www.webteach.tw\/?p=1129","title":{"rendered":"[ Arduino ] usb host shield \u9023\u63a5usb\u9375\u76e4"},"content":{"rendered":"<p>\t\t\t\t\u9996\u5148\u4e0b\u8f09\u51fd\u5f0f\u5eab<br \/>\n<a href=\"https:\/\/github.com\/felis\/USB_Host_Shield_2.0\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/felis\/USB_Host_Shield_2.0<\/a><br \/>\n\u89e3\u58d3\u7e2e\u5f8c\u653e\u9032 C:\\Program Files (x86)\\Arduino\\libraries \u88e1\u9762\u3002<br \/>\n\u5c31\u53ef\u4ee5\u5728IDE\u4e2d\u8f09\u5165<br \/>\n\u57fa\u672c\u529f\u80fd\u6e2c\u8a66\uff1a\u8b80\u53d6\u9375\u76e4\u6309\u9375\u7684\u503c<br \/>\nC:\\Program Files (x86)\\Arduino\\libraries\\USB_Host_Shield_2.0-master\\examples\\HID\\USBHIDBootKbd\/USBHIDBootKbd.ino<br \/>\n\u8f09\u5165\u6b64\u7bc4\u4f8b\u6a94\u5373\u53ef\u8b80\u53d6\u9375\u76e4\u4e0a\u7684\u503c\uff0c\u8a18\u5f97\u8981\u5c07 \u9375\u76e4\u63d2\u5165 usb host shield \u7684usb \u5b54\u3002<br \/>\n\u8a3b\uff1a\u4f7f\u7528\u4e0a\u5217\u7a0b\u5f0f\u9700\u6253\u958b\u5e8f\u5217\u57e0\u5805\u63a7\u8996\u7a97\u624d\u80fd\u958b\u59cb\u4f7f\u7528\u9375\u76e4<br \/>\n\/\/#if !defined(__MIPSEL__)<br \/>\n \/\/ while (!Serial); \/\/ Wait for serial port to connect &#8211; used on Leonardo, Teensy and other boards with built-in USB CDC serial connection<br \/>\n\/\/#endif<br \/>\n\u8a3b\u89e3\u6389\u4e0a\u9762\u4e09\u884c\u5c31\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u9375\u76e4<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148\u4e0b\u8f09\u51fd\u5f0f\u5eab https:\/\/github.co&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[592],"class_list":["post-1129","post","type-post","status-publish","format-standard","hentry","category-arduino","tag-usb-keyboard"],"_links":{"self":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts\/1129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1129"}],"version-history":[{"count":0,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts\/1129\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}