PWM,13,500 // ok
PWM,13,500,5000 // something is not right ! alls would crash the esp
Search found 4 matches
- 07 Jun 2019, 17:44
- Forum: ESP Easy: Software
- Topic: led dimmen
- Replies: 4
- Views: 7407
- 07 Jun 2019, 16:56
- Forum: ESP Easy: Software
- Topic: led dimmen
- Replies: 4
- Views: 7407
Re: led dimmen
i testet :
on LS#State=1 do
if [PIR#State]=1
PWM,13,500,5000 // stay at this point - 5s on -5s off .................
PWM,13,500
else
PWM,13,0,5000
endif
endon
on LS#State=1 do
if [PIR#State]=1
PWM,13,500,5000 // stay at this point - 5s on -5s off .................
PWM,13,500
else
PWM,13,0,5000
endif
endon
- 07 Jun 2019, 12:28
- Forum: ESP Easy: Software
- Topic: led dimmen
- Replies: 4
- Views: 7407
Re: led dimmen
more infos of problem Rule : LS = ligt sensor on LS#State=1 do if [PIR#State]=1 PWM,13,500,5000 // light goes up 0-500 in 5s and then off ,and then the same again ( I would like on !) else PWM,13,0 // light goes off ( i would like slowly off - from 500 -0 ) endif endon :D
- 06 Jun 2019, 21:26
- Forum: ESP Easy: Software
- Topic: led dimmen
- Replies: 4
- Views: 7407
led dimmen
Hello everybody,
I would like to drive a led slow (5 sec) high with PIR. then she should stay on. and slowly go out again.
Esp Easy prgramm !?
PWM,gpio,500,5000 is after 5 sec out . not good
I would like to drive a led slow (5 sec) high with PIR. then she should stay on. and slowly go out again.
Esp Easy prgramm !?
PWM,gpio,500,5000 is after 5 sec out . not good