# Is it possible to hop to the next line midway through a delay?

**URL:** <https://forum.arduino.cc/t/is-it-possible-to-hop-to-the-next-line-midway-through-a-delay/975162>\
**Category:** Programming\
**Created:** [March 30, 2022, 10:32am UTC](https://forum.arduino.cc/t/is-it-possible-to-hop-to-the-next-line-midway-through-a-delay/975162 "2022-03-30T10:32:07Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![StefanL38](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/stefanl38/32/713548_2.png) [@StefanL38](https://forum.arduino.cc/u/StefanL38)\
**Post date:** [March 30, 2022, 6:04pm UTC](https://forum.arduino.cc/t/is-it-possible-to-hop-to-the-next-line-midway-through-a-delay/975162/5 "2022-03-30T18:04:46Z")

</div>

> [@anon73444976](#):
>
> The trick is not to use the delay function.

> [@Example-code for timing based on millis() easier to understand through the use of example-numbers / avoiding delay()](https://forum.arduino.cc/t/example-code-for-timing-based-on-millis-easier-to-understand-through-the-use-of-example-numbers-avoiding-delay/974017):
>
> non-blocking timing. Execute code only from time to time. There are a lot of different ways to learn programming. This thread wants to add another approach that is different to the yet existing ones. UPDATE 06.01.2023 if you are mainly interested in applying non-blocking timing you can do a quick read of this short tutorial / demonstration If you are intersted in understanding the details how it works go on reading here. I use an everyday analogon in this post to explain the basic principle …

Be the change you want to see in the world  
best regards Stefan

---

_[View the full topic](https://forum.arduino.cc/t/is-it-possible-to-hop-to-the-next-line-midway-through-a-delay/975162)._
