Difference between revisions of "Component: Timed Interval (Timing)"
From Flowcode Help
Jump to navigationJump to search| Line 42: | Line 42: | ||
| + | Example program showing how to use the Timed component to trigger a callback macro at precise intervals e.g. 1 second. | ||
| − | + | {{Fcfile|Timed_interval_example.fcfx|Once second timed interval component example }} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Macro reference== | ==Macro reference== | ||
Revision as of 11:20, 24 January 2025
| Author | Matrix TSL |
| Version | 1.1 |
| Category | Timing |
Contents
Timed Interval component
Allows you to setup a specific timed interval via the use of a hardware timer peripheral. Useful for regular time accurate periodic polling and sampling.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_TimerIntervalComponent.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_TimerIntervalComponent.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Example program showing how to use the Timed component to trigger a callback macro at precise intervals e.g. 1 second.
Once second timed interval component example
Macro reference
StartTimerInterval
| StartTimerInterval | |
| Starts the timer interval. | |
| Return | |
StopTimerInterval
| StopTimerInterval | |
| Stops the timer interval. | |
| Return | |