Timer

Message generated by timer after a specified time is elapsed.

Parameters

A1 [out,1u]
Device: kernel - 1
A2 [out,1u]
Message type - 2
AY [out,4u]
Timer identifier

Description

This message is generated by timer once, when its time is elapsed. You can create as many timers as you need and identify their messages by identifiers.

Timer can be inaccurate - there is no warranty about its precision. In real-time programs it would be better to loop and check precise time that elapsed since last frame than to use timers.