![]() |
![]() |
![]() |
![]() |
timer
Synopsis
module timer {
int+read TimeStep;
int+read Active;
int+read ValStep;
itn+write Val;
};Description
timer triggers an operation at a given time interval. For example, you could use a timer to rotate an object by 15 degrees every 10 seconds.
Input ports
If set to 1, activates the timer. While the timer is active, the Val object is modified at each time step.
Output ports
![]() |
![]() |
![]() |
![]() |