Compare commits
4 Commits
ef0c80d099
...
main
Author | SHA1 | Date | |
---|---|---|---|
17a3b82d5c | |||
8c087f452e | |||
23431457b7 | |||
3f6ea3a2f1 |
@@ -33,7 +33,7 @@ pub fn start() {
|
|||||||
|
|
||||||
|
|
||||||
play_sound();
|
play_sound();
|
||||||
thread::sleep(Duration::from_millis(500));
|
thread::sleep(Duration::from_millis(800));
|
||||||
|
|
||||||
let _ = serial::write_serial(format!("SET_LIGHT:0;").as_str());
|
let _ = serial::write_serial(format!("SET_LIGHT:0;").as_str());
|
||||||
stage_one();
|
stage_one();
|
||||||
@@ -122,4 +122,7 @@ fn stage_two() {
|
|||||||
thread::sleep(Duration::from_millis(200));
|
thread::sleep(Duration::from_millis(200));
|
||||||
let _ = serial::write_serial(format!("SET_LED_OFF;").as_str());
|
let _ = serial::write_serial(format!("SET_LED_OFF;").as_str());
|
||||||
let _ = serial::write_serial(format!("SET_STRIP_COLOR:0,0,0;").as_str());
|
let _ = serial::write_serial(format!("SET_STRIP_COLOR:0,0,0;").as_str());
|
||||||
|
|
||||||
|
thread::sleep(Duration::from_millis(1000));
|
||||||
|
let _ = serial::write_serial(format!("SET_LIGHT:255;").as_str());
|
||||||
}
|
}
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"build": {
|
"build": {
|
||||||
"beforeDevCommand": "npm run dev",
|
"beforeDevCommand": "npm run dev",
|
||||||
"beforeBuildCommand": "npm run build",
|
"beforeBuildCommand": "npm run build",
|
||||||
"devPath": "http://localhost:1420",
|
"devPath": "http://127.0.0.1:1420",
|
||||||
"distDir": "../dist",
|
"distDir": "../dist",
|
||||||
"withGlobalTauri": false
|
"withGlobalTauri": false
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user