Compare commits

...

4 Commits

Author SHA1 Message Date
17a3b82d5c Update toos-dashboard/src-tauri/src/animation.rs
All checks were successful
publish / publish-tauri (ubuntu-20.04) (push) Successful in 4m18s
2023-10-28 08:43:55 +02:00
8c087f452e Update toos-dashboard/src-tauri/src/animation.rs
All checks were successful
publish / publish-tauri (ubuntu-20.04) (push) Successful in 4m16s
2023-10-27 20:49:37 +02:00
23431457b7 Update toos-dashboard/src-tauri/src/animation.rs
All checks were successful
publish / publish-tauri (ubuntu-20.04) (push) Successful in 4m16s
2023-10-27 20:39:31 +02:00
3f6ea3a2f1 Changed localhost to 127.0.0.1
All checks were successful
publish / publish-tauri (ubuntu-20.04) (push) Successful in 4m29s
2023-10-27 15:11:20 +02:00
2 changed files with 5 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ pub fn start() {
play_sound();
thread::sleep(Duration::from_millis(500));
thread::sleep(Duration::from_millis(800));
let _ = serial::write_serial(format!("SET_LIGHT:0;").as_str());
stage_one();
@@ -122,4 +122,7 @@ fn stage_two() {
thread::sleep(Duration::from_millis(200));
let _ = serial::write_serial(format!("SET_LED_OFF;").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());
}

View File

@@ -2,7 +2,7 @@
"build": {
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build",
"devPath": "http://localhost:1420",
"devPath": "http://127.0.0.1:1420",
"distDir": "../dist",
"withGlobalTauri": false
},