I'm using CODESYS V3.5.
I'm creating a Analogue clock separating the RTC time to a LINT separate variable, one for hours, minutes and seconds, then I convert it to the angle as marked on a normal watch.
My question is if the RTC can be accelerated, so that a cycle of one day does it in 5 minutes. Is there a function other than the RTC to do this?
For this purpose, if you run it on a simulator, then cheat engine may help with it's build in speedhack. Just select the simulator process and set the speedhack flag.
Other may may be generating the actual time from counters and passing it to your function instead of the actual rtc time.
馃憤
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using CODESYS V3.5.
I'm creating a Analogue clock separating the RTC time to a LINT separate variable, one for hours, minutes and seconds, then I convert it to the angle as marked on a normal watch.
My question is if the RTC can be accelerated, so that a cycle of one day does it in 5 minutes. Is there a function other than the RTC to do this?
For this purpose, if you run it on a simulator, then cheat engine may help with it's build in speedhack. Just select the simulator process and set the speedhack flag.
Other may may be generating the actual time from counters and passing it to your function instead of the actual rtc time.
I would never have thought to try using cheat engine with Codesys. That's actually kinda brilliant