I'm doing an Arduino study and would like to see a longer LED activation time with the Dips Switches. But first of all I want to thank you @noiasca for having previously helped another participant in the forum.
@qubits-us you said the code in the wokwi was the OP's. That is very kind, but inaccurate.
You actually returned the function that someone elsewhere had handed her to its original single purpose, to read some DIP switches.
In doing, you removed also the obvious error and the entirety of mistaken attempt to add to it the additional task of blinking an LED that error was in.
You took the loop() back to where it probably was when handed to the OP, a simple test of what had been that simple DIP switch function.
And you wrote there for her the only part that was being added, that is trying to use the value derived from the DIP switches to blink an LED. Which naturally turned out to work as opposed to her incorrect at least and demonstrably buggy on a peep-hole basis (==, =) attempt.
You code well enough so that you might have been asleep through all that.
I call that work, not play.
The code now has very little to nothing that the OP wrote. I am as sure she will study what you have done and learn from it as I am that she has already turned up the compiler warnings in the IDE, and so will benefit from the time you spent "playing".
Well, I guess we just have different opinions..
anything less than 20k lines is play time for me, sorry..
I do try to play nice with others..
Don't feel like I'm causing any harm and I try not too..
If I bother you personally sorry, just block me, don't be a bully..