rust_gpiozero icon indicating copy to clipboard operation
rust_gpiozero copied to clipboard

Output devices clear effects

Open raresvanca opened this issue 3 years ago • 0 comments

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?

raresvanca avatar Dec 09 '22 17:12 raresvanca