rust_gpiozero
rust_gpiozero copied to clipboard
Output devices clear effects
When running the following code, the second blink command does not work and it continues to run the first blink:
led.blink(0.05, 0.05, 0.0, 0.0);
thread::sleep(Duration::from_millis(1000));
led.blink(1.0, 1.0, 0.0, 0.0);
Is there any way to stop all current processes?