Hi, how are you?
I would like you to please help me with the following question.
How would be the code to make a counter start in 10 seconds or whatever and decrease until it reaches 0 and immediately repeat the process as many times as indicated.
Thank you very much.
Pradevel
(Pratyush Roy)
November 27, 2020, 7:10pm
#2
You can simply use the timer component
@manudavril1
1 Like
Rogerio_Rios
(Professional Support)
November 27, 2020, 7:16pm
#3
manudavril1:
make a counter
If counter=0
counter=10
…
Infinity Loop …
2 Likes
Sorry for the inconvenience, could you help me by doing a code please.
Thanks a lot.
I’ve already tried it and it doesn’t work for me.
Rogerio_Rios
(Professional Support)
November 27, 2020, 7:22pm
#7
It is part of learning.
Try to reason.
Find the error
Test the app
Improve the code …
Show us yours blocks
Read:
https://puravidaapps.com/learn.php
2 Likes
In fact, that’s what I’m doing, but it got a little complicated and I wanted to ask. Thank you.
Rogerio_Rios
(Professional Support)
November 27, 2020, 10:21pm
#10
It is part of learning.
Try to reason.
Find the error
Test the app
Improve the code …
Forget everything I said …
1 Like
AryanGupta
(Aryan Gupta)
November 28, 2020, 5:24am
#11
it is to enable Timer Always Fire
and make your code in the Timer
event
1 Like