Disable damaged light

This commit is contained in:
GHOSCHT 2024-04-29 12:27:27 +02:00
parent 57fec7d26f
commit 374d228ed9
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -37,9 +37,9 @@ fn main() {
"on" | "son" => {
println!("Turning semi-on...");
port.write(off_cmd).expect("Write failed!");
for _ in 0..20 {
for _ in 0..40 {
port.write(increase1_cmd).expect("Write failed!");
port.write(increase2_cmd).expect("Write failed!");
// port.write(increase2_cmd).expect("Write failed!");
}
}
_ => {