Time

Interrupt program code

With the Wait blocks you can interrupt your program code for a certain time. During this time the microcontroller pauses and no actions are performed. The time is given in milliseconds (1 second = 1000 milliseconds) or microseconds (1 second = 1000000 microseconds).

/images/2020-04-08-blockly-zeit/blockly-time-1.svg - Logo
/images/2020-04-08-blockly-zeit/blockly-time-2.svg - Logo

Current elapsed time

With the current elapsed time blocks, you can display the time that your program code is already running. The runtime is given in milliseconds or microseconds.

/images/2020-04-08-blockly-zeit/blockly-time-3.svg - Logo
/images/2020-04-08-blockly-zeit/blockly-time-4.svg - Logo

Wait forever

With the Wait forever block, you can end your program.

/images/2020-04-08-blockly-zeit/blockly-time-5.svg - Logo

Measuring interval

With the block Measuring interval, you can determine how often your measured values are transmitted. By default (i.e. without measuring interval block) the measured values are transmitted every second.

/images/2020-04-08-blockly-zeit/blockly-time-6.svg - Logo
×

Subscribe

The latest tutorials sent straight to your inbox.