I wander is it not possible to implement some real time function. Usually the timer in the uP is calling on non "real time period" - lt's let say 10ms, 2ms. And this period is usually adjusted by decreasing the whole Timer period with some value.

Some applications need exactly calculations with the real time - seconds, minutes, hours.

Will be not big deal to add some function, that could calculate the real time from the OSTimer().

It shoud have some coefficients (that contain 2 fields - whole and fraction part) that will bring the opportunity to the user to know the real time - in seconds, minutes, hours with enough precision. This function should not use slowly an dbig mathematic routines. Something like our calendar - 2000 - 365 days, 2004 year - 366 days, 2005 - 365. I mean - some simple rules - add one tick every n ticks, remove one tick every m ticks, p ticks mean one second. This will bring enoug accuracy to the real time function, without complicated calculations.

The idea is not clear yet , just in beginning.

Best regards

Luben

------------------