{"id":40950,"date":"2023-09-30T11:49:31","date_gmt":"2023-09-30T03:49:31","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=40950"},"modified":"2023-09-30T11:49:31","modified_gmt":"2023-09-30T03:49:31","slug":"sylckwfsrml","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/40950.html","title":{"rendered":"\u4f7f\u7528Linux\u4e32\u53e3\u65e0\u6cd5\u8f93\u5165\u547d\u4ee4"},"content":{"rendered":"
Linux\u4e32\u53e3\u662f\u4e00\u79cd\u4e13\u95e8\u7528\u4e8e\u5728Linux\u7cfb\u7edf\u4e2d\u8fde\u63a5\u5916\u90e8\u8bbe\u5907\u7684\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\uff0c\u4f46\u662f\u5b83\u65e0\u6cd5\u8f93\u5165\u547d\u4ee4\uff0c\u8fd9\u662f\u7531\u4e8eLinux\u4e32\u53e3\u7684\u7279\u6027\u51b3\u5b9a\u7684\u3002\u672c\u6587\u5c06\u4ecb\u7ecdLinux\u4e32\u53e3\u7684\u7279\u6027\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528Linux\u4e32\u53e3\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002<\/p>\n
Linux\u4e32\u53e3\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u5916\u90e8\u8bbe\u5907\uff0c\u4ee5\u4fbf\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\u3002Linux\u4e32\u53e3\u6709\u4ee5\u4e0b\u51e0\u4e2a\u7279\u6027\uff1a<\/p>\n
\u9996\u5148\uff0c\u8981\u4f7f\u7528Linux\u4e32\u53e3\u8fdb\u884c\u6570\u636e\u4f20\u8f93\uff0c\u9700\u8981\u5148\u6253\u5f00Linux\u4e32\u53e3\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n
sudo stty -F \/dev\/ttyUSB0 115200<\/p><\/pre>\n
\u8fd9\u6761\u547d\u4ee4\u4f1a\u5c06Linux\u4e32\u53e3\u8bbe\u7f6e\u4e3a\u6ce2\u7279\u7387\u4e3a115200\uff0c\u8fd9\u662f\u4e00\u4e2a\u5e38\u7528\u7684\u6ce2\u7279\u7387\uff0c\u4e5f\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8bbe\u7f6e\u5176\u4ed6\u6ce2\u7279\u7387\u3002<\/p>\n
2. \u4f7f\u7528\u4e32\u53e3\u8fdb\u884c\u6570\u636e\u4f20\u8f93<\/h3>\n
\u5728\u6253\u5f00Linux\u4e32\u53e3\u4e4b\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\uff1a<\/p>\n
cat \/dev\/ttyUSB0<\/p><\/pre>\n
\u8fd9\u6761\u547d\u4ee4\u4f1a\u5c06Linux\u4e32\u53e3\u4e2d\u7684\u6570\u636e\u8bfb\u53d6\u51fa\u6765\uff0c\u5e76\u663e\u793a\u5728\u7ec8\u7aef\u4e2d\u3002<\/p>\n
3. \u5173\u95edLinux\u4e32\u53e3<\/h3>\n
\u5f53\u6570\u636e\u4f20\u8f93\u5b8c\u6210\u4e4b\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5173\u95edLinux\u4e32\u53e3\uff1a<\/p>\n
sudo stty -F \/dev\/ttyUSB0 0<\/p><\/pre>\n
\u8fd9\u6761\u547d\u4ee4\u4f1a\u5c06Linux\u4e32\u53e3\u7684\u6ce2\u7279\u7387\u8bbe\u7f6e\u4e3a0\uff0c\u4ece\u800c\u5173\u95edLinux\u4e32\u53e3\u3002<\/p>\n
\u603b\u7ed3<\/h2>\n
Linux\u4e32\u53e3\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u8fde\u63a5\u5916\u90e8\u8bbe\u5907\uff0c\u4ee5\u4fbf\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\uff0c\u4f46\u662f\u5b83\u65e0\u6cd5\u8f93\u5165\u547d\u4ee4\uff0c\u8fd9\u662f\u7531\u4e8eLinux\u4e32\u53e3\u7684\u7279\u6027\u51b3\u5b9a\u7684\u3002<\/strong>\u8981\u4f7f\u7528Linux\u4e32\u53e3\u8fdb\u884c\u6570\u636e\u4f20\u8f93\uff0c\u9700\u8981\u5148\u6253\u5f00Linux\u4e32\u53e3\uff0c\u7136\u540e\u4f7f\u7528\u547d\u4ee4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\uff0c\u6700\u540e\u5173\u95edLinux\u4e32\u53e3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
Linux\u4e32\u53e3\u662f\u4e00\u79cd\u4e13\u95e8\u7528\u4e8e\u5728Linux\u7cfb\u7edf\u4e2d\u8fde\u63a5\u5916\u90e8\u8bbe\u5907\u7684\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\uff0c\u4f46\u662f\u5b83\u65e0\u6cd5\u8f93\u5165\u547d\u4ee4\uff0c\u8fd9\u662f\u7531\u4e8eLinux\u4e32\u53e3\u7684\u7279\u6027\u51b3\u5b9a\u7684\u3002\u672c\u6587\u5c06\u4ecb\u7ecdLinux\u4e32<\/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":[69],"class_list":["post-40950","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-cktx"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/40950","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=40950"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/40950\/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=40950"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=40950"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=40950"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}