# Timer marcia arresto

**URL:** <https://forum.xod.io/t/timer-marcia-arresto/6008>\
**Category:** Uncategorized\
**Created:** [April 2, 2022, 5:52pm UTC](https://forum.xod.io/t/timer-marcia-arresto/6008 "2022-04-02T17:52:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fiorenzoruscelli0](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@fiorenzoruscelli0](https://forum.xod.io/u/fiorenzoruscelli0)\
**Post date:** [April 2, 2022, 5:52pm UTC](https://forum.xod.io/t/timer-marcia-arresto/6008/1 "2022-04-02T17:52:07Z")

</div>

come realizzare un timer 10’ marcia 120’ arresto ciclico

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [April 4, 2022, 5:19pm UTC](https://forum.xod.io/t/timer-marcia-arresto/6008/2 "2022-04-04T17:19:12Z")

</div>

> [@fiorenzoruscelli0](#):
>
> how to create a timer 10 ‘running 120’ cyclical stop

I have no idea what this means. Do you want to run a timer 120 times, then stop?

---

<div class="post-metadata">

**Author:** ![virginio-savani](https://avatars.discourse-cdn.com/v4/letter/v/e79b87/32.png) [@virginio-savani](https://forum.xod.io/u/virginio-savani)\
**Post date:** [April 6, 2022, 9:02pm UTC](https://forum.xod.io/t/timer-marcia-arresto/6008/3 "2022-04-06T21:02:15Z")

</div>

No, he means 10 seconds of running, then 120 seconds of pause and then repeating over and over

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [April 7, 2022, 2:11am UTC](https://forum.xod.io/t/timer-marcia-arresto/6008/4 "2022-04-07T02:11:48Z")

</div>

Ah…that is pretty easy  
 ![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/8/85155806925c0c16fee2e0c79146c11300ade4c6.png)  
The watch node can be replaced by whatever “runs” for 10 seconds.

Boot or defer will start the 10 second timer. When it completes, it starts the 120 second timer. When it completes, it restarts the 10 second timer, but when we loop back in the code, we need to add a defer node.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [May 7, 2022, 2:12am UTC](https://forum.xod.io/t/timer-marcia-arresto/6008/5 "2022-05-07T02:12:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
