{"id":47169,"date":"2023-09-28T00:04:32","date_gmt":"2023-09-27T16:04:32","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=47169"},"modified":"2023-09-28T00:04:32","modified_gmt":"2023-09-27T16:04:32","slug":"sysfssj","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/47169.html","title":{"rendered":"\u4f7f\u7528SerialPort\u53d1\u9001\u6570\u636e"},"content":{"rendered":"

  SerialPort\u662f\u4e00\u79cd\u7528\u4e8e\u53d1\u9001\u6570\u636e\u7684\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5728\u4e0d\u540c\u7684\u8ba1\u7b97\u673a\u4e4b\u95f4\u53d1\u9001\u6570\u636e\u3002\u5b83\u53ef\u4ee5\u7528\u4e8e\u53d1\u9001\u6587\u672c\u3001\u56fe\u50cf\u3001\u97f3\u9891\u7b49\u6570\u636e\uff0c\u5b83\u7684\u4f18\u52bf\u5728\u4e8e\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u7cfb\u7edf\u4e2d\u5b9e\u73b0\u6570\u636e\u4ea4\u6362\uff0c\u5e76\u4e14\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u6570\u636e\u683c\u5f0f\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528SerialPort\u53d1\u9001\u6570\u636e\uff0c\u5e76\u4ecb\u7ecd\u5176\u4f18\u52bf\u548c\u7f3a\u70b9\u3002<\/p>\n

SerialPort\u7684\u4f18\u52bf<\/h2>\n

  1. \u652f\u6301\u591a\u79cd\u6570\u636e\u683c\u5f0f<\/h3>\n

  SerialPort\u652f\u6301\u591a\u79cd\u6570\u636e\u683c\u5f0f\uff0c\u5305\u62ec\u6587\u672c\u3001\u56fe\u50cf\u3001\u97f3\u9891\u7b49\u3002\u8fd9\u4f7f\u5f97\u5b83\u53ef\u4ee5\u7528\u4e8e\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\uff0c\u4f8b\u5982\u53ef\u4ee5\u7528\u4e8e\u4f20\u8f93\u6587\u4ef6\u6216\u8005\u4f20\u8f93\u56fe\u7247\u7b49\u3002<\/p>\n

  2. \u652f\u6301\u591a\u79cd\u7cfb\u7edf<\/h3>\n

  SerialPort\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u4f7f\u7528\uff0c\u4f8b\u5982Windows\u3001Linux\u3001macOS\u7b49\u3002\u8fd9\u4f7f\u5f97\u5b83\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u8ba1\u7b97\u673a\u4e4b\u95f4\u53d1\u9001\u6570\u636e\uff0c\u800c\u4e0d\u5fc5\u62c5\u5fc3\u64cd\u4f5c\u7cfb\u7edf\u7684\u5dee\u5f02\u3002<\/p>\n

  3. \u652f\u6301\u9ad8\u901f\u4f20\u8f93<\/h3>\n

  SerialPort\u652f\u6301\u9ad8\u901f\u4f20\u8f93\uff0c\u53ef\u4ee5\u8fbe\u5230\u6bcf\u79d2\u51e0\u5341KB\u7684\u4f20\u8f93\u901f\u5ea6\uff0c\u8fd9\u4f7f\u5f97\u5b83\u53ef\u4ee5\u7528\u4e8e\u4f20\u8f93\u5927\u91cf\u7684\u6570\u636e\u3002<\/p>\n

\u4f7f\u7528SerialPort\u53d1\u9001\u6570\u636e<\/h2>\n

  1. \u8fde\u63a5\u8bbe\u5907<\/h3>\n

  \u9996\u5148\uff0c\u7528\u6237\u9700\u8981\u5c06\u8bbe\u5907\u8fde\u63a5\u5230\u7535\u8111\u4e0a\uff0c\u4ee5\u4fbf\u4f7f\u7528SerialPort\u53d1\u9001\u6570\u636e\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u7528\u6237\u53ef\u4ee5\u4f7f\u7528USB\u7ebf\u6216\u8005\u4e32\u53e3\u7ebf\u8fde\u63a5\u8bbe\u5907\uff0c\u4ee5\u4fbf\u4f7f\u7528SerialPort\u53d1\u9001\u6570\u636e\u3002<\/p>\n

  2. \u5b89\u88c5\u9a71\u52a8<\/h3>\n

  \u5176\u6b21\uff0c\u7528\u6237\u9700\u8981\u5b89\u88c5\u76f8\u5e94\u7684\u9a71\u52a8\uff0c\u4ee5\u4fbf\u4f7f\u7528SerialPort\u53d1\u9001\u6570\u636e\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u7528\u6237\u53ef\u4ee5\u4ece\u8bbe\u5907\u5382\u5546\u7684\u5b98\u7f51\u4e0a\u4e0b\u8f7d\u9a71\u52a8\uff0c\u5e76\u5b89\u88c5\u5230\u7535\u8111\u4e0a\u3002<\/p>\n

  3. \u6253\u5f00SerialPort<\/h3>\n

  \u6700\u540e\uff0c\u7528\u6237\u9700\u8981\u6253\u5f00SerialPort\uff0c\u4ee5\u4fbf\u4f7f\u7528SerialPort\u53d1\u9001\u6570\u636e\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u7528\u6237\u53ef\u4ee5\u4f7f\u7528SerialPort\u7f16\u7a0b\u5e93\uff0c\u6253\u5f00SerialPort\uff0c\u5e76\u53d1\u9001\u6570\u636e\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528SerialPort\u53d1\u9001\u6570\u636e\uff0c\u4ee5\u53ca\u5b83\u7684\u4f18\u52bf\u548c\u7f3a\u70b9\u3002<\/strong>SerialPort\u53ef\u4ee5\u652f\u6301\u591a\u79cd\u6570\u636e\u683c\u5f0f\uff0c\u652f\u6301\u591a\u79cd\u7cfb\u7edf\uff0c\u5e76\u4e14\u652f\u6301\u9ad8\u901f\u4f20\u8f93\uff0c\u8fd9\u4f7f\u5f97\u5b83\u53ef\u4ee5\u7528\u4e8e\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u3002\u5c3d\u7ba1SerialPort\u6709\u8bb8\u591a\u4f18\u52bf\uff0c\u4f46\u5b83\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\uff0c\u4f8b\u5982\u5b89\u88c5\u9a71\u52a8\u7e41\u7410\uff0c\u53d1\u9001\u6570\u636e\u7684\u901f\u5ea6\u53d7\u9650\u7b49\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

SerialPort\u662f\u4e00\u79cd\u7528\u4e8e\u53d1\u9001\u6570\u636e\u7684\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5728\u4e0d\u540c\u7684\u8ba1\u7b97\u673a\u4e4b\u95f4\u53d1\u9001\u6570\u636e\u3002\u5b83\u53ef\u4ee5\u7528\u4e8e\u53d1\u9001\u6587\u672c\u3001\u56fe\u50cf\u3001\u97f3\u9891\u7b49\u6570\u636e\uff0c\u5b83\u7684\u4f18\u52bf\u5728\u4e8e\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u7cfb\u7edf\u4e2d\u5b9e\u73b0\u6570\u636e\u4ea4\u6362\uff0c<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[305],"class_list":["post-47169","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-dzjs"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/47169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=47169"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/47169\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=47169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=47169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=47169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}