戳人痛处

导航

2022年8月18日 #

[记]Rust在多线程里使用串口

摘要: 1. toml [dependencies] serial = "0.4.0" encoding = "0.2.33" -- use std::io::{Read, Write}; use std::sync::{Arc, Mutex}; use std::thread; use std::time 阅读全文

posted @ 2022-08-18 13:29 戳人痛处 阅读(696) 评论(0) 推荐(0) 编辑