PaulS:
I don't often call people liars, but this snippet i just copied from reply #10.void loop() {
unsigned long currentMillis = millis();
(!digitalWrite, sw) {
That not what i mean .may be my expression is not right .but what i mean that i removed that code from #10 to be in code #21
In this code i removed the three devices that was in my first post to be only one just for explain whst i need .and in this code #10 i removed
( "while(digitalWrite, sw) {" ) to be without like #21
Ok that is not the problem .just please foget this line .this code made many problems for me in the code and in the posts
In my last post#21 i explained what i want
I don't know if it is clear or not i can post more explain if yoy want