项目初始化, 串口服务类别
This commit is contained in:
8
src/main.rs
Normal file
8
src/main.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
use fltk::{prelude::*, window::Window, *};
|
||||
fn main() {
|
||||
let app = app::App::default();
|
||||
let mut window = window::Window::new(100, 100, 400, 300, "Hello from rust");
|
||||
window.end();
|
||||
window.show();
|
||||
app.run().unwrap();
|
||||
}
|
||||
Reference in New Issue
Block a user