Disable damaged light
This commit is contained in:
parent
57fec7d26f
commit
374d228ed9
1 changed files with 2 additions and 2 deletions
|
@ -37,9 +37,9 @@ fn main() {
|
||||||
"on" | "son" => {
|
"on" | "son" => {
|
||||||
println!("Turning semi-on...");
|
println!("Turning semi-on...");
|
||||||
port.write(off_cmd).expect("Write failed!");
|
port.write(off_cmd).expect("Write failed!");
|
||||||
for _ in 0..20 {
|
for _ in 0..40 {
|
||||||
port.write(increase1_cmd).expect("Write failed!");
|
port.write(increase1_cmd).expect("Write failed!");
|
||||||
port.write(increase2_cmd).expect("Write failed!");
|
// port.write(increase2_cmd).expect("Write failed!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
|
|
Loading…
Reference in a new issue