Page 2 of 2

Re: Timer interval and Timer - problem

Posted: Fri Apr 26, 2024 4:43 pm
by LeighM
1) Help -> Library Updates
2) Add a Timer component macro to your project

timer.jpg
timer.jpg (38.53 KiB) Viewed 1506 times

Note: Timer component is not needed for simple Delay icon.

Re: Timer interval and Timer - problem

Posted: Fri Apr 26, 2024 4:56 pm
by BenR
Hello,

In both programs you posted you are not calling any of the component macros of the timer component. This as I said is problematic.
As you're not calling any of the component macros that can cause problems in the code generation.
Aha Leigh beat me to it :)

Re: Timer interval and Timer - problem

Posted: Fri Apr 26, 2024 5:21 pm
by DStoyankov
Thanks! Only with Timer it worked. After I added a timer interval again error

Re: Timer interval and Timer - problem

Posted: Sat Apr 27, 2024 12:10 pm
by LeighM
You could do with exploring the Help -> Wiki -> Components search
Then ensure you have set the component properties.
For example, for the TimedInterval component you need to set a callback macro (that runs at the timed interval)

Re: Timer interval and Timer - problem

Posted: Sun Apr 28, 2024 9:18 am
by DStoyankov
Thanks! Everything is OK