Using Millis to Turn On/Off Relay for a set interval

Hi gerivega,

you seem to have not understood what the problem with the simulation is:

I start the simulation. I keep the left-mouse-button down for 2 seconds to start
The LC-Display gets updated two times per second showing 64 psi
I waited for 20 seconds then clicked on the slider.
The slider jumped to the right. LC-Display shows 16 psi

and that's all that happends nothing more

The slider can't be moved left/right with the mouse any more
and all leds stay OFF


that's what I would call non-functional code

it might be a problem of WOKWI or trying to use WOKWI with firefox
but that's all I see.
best regards Stefan