@Kernelpanic _LIMIT 5 simply says to run the program only 5 times in a second. If you want it to correspond closer to reality, then change the addition to + 0.2 instead of + 1.
(Just keep in mind, these are floating point values and thus are imprecise and will get ever so slightly further from the actual time, as time rolls by. If you need real precision here, make everything integers, add by 2, and divide by 10 only at the display point of the process. Remove floating points from the program completely, if absolute precision is needed.)
(Just keep in mind, these are floating point values and thus are imprecise and will get ever so slightly further from the actual time, as time rolls by. If you need real precision here, make everything integers, add by 2, and divide by 10 only at the display point of the process. Remove floating points from the program completely, if absolute precision is needed.)