# MobaTools Timerbase and Timer to Light LED

**URL:** <https://forum.arduino.cc/t/mobatools-timerbase-and-timer-to-light-led/1218713>\
**Category:** Programming\
**Created:** [February 1, 2024, 1:57pm UTC](https://forum.arduino.cc/t/mobatools-timerbase-and-timer-to-light-led/1218713 "2024-02-01T13:57:56Z")\
**Posts on this page:** 1\
**Showing post:** 14

<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:** [February 1, 2024, 9:15pm UTC](https://forum.arduino.cc/t/mobatools-timerbase-and-timer-to-light-led/1218713/14 "2024-02-01T21:15:47Z")

</div>

it seems that almost all people that have understood non-blocking timing become blind for that one thing that makes it difficult to understand:

## **NOT**

explaining  
the **fundamental** difference between delay() and non-blocking timing.

Any kind of non-blocking timer works with the same principle.  
And this principle is

## very different

from delay() it could be seen almost as the

## **OPPOSITE** of delay()

delay()

## completely freezes code-execution

# delay() = **UN** conditionally **STOP** ALL code-execution

.  
.

## non-blocking timing = **GO ON** with code-execution

## combined with **TIME-conditional** code-execution

delay: stop all  
versus  
non-blocking timing: go on with main code  
combined with  
execute timing-code **TIME** -conditional

> [@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/1):
>
> 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 …

---

_[View the full topic](https://forum.arduino.cc/t/mobatools-timerbase-and-timer-to-light-led/1218713)._
