hV_Graphics — Clock
A clock is declared with the gClock class:
The gClock class has two functions:
The new library uses integers only to save memory (no need for the 6KB real library!) and processing power. The graphic is updated only if the values passed are different from the previous ones. This allows smoother graphics and faster drawing. Typically, the clock refresh requires 0 ms or less than 30-70-140 ms, depending on the size and controller of the screen, and on whether second, minute and hour have changed. |