As promised :-) fully scale-able clock, any position, can change during runtime! Animated movement of clock!
http://www.techtir.ie/forums/showthread.php?p=4084#post4084 tested on 18F4550 Change the DrawClockFace to use constants instead of variables to save RAM. second hand is automatically 2 pixels shorter than clockface radius hour hand is automatically 1/2 size Minute hand is automatically average of second hand and hour hand. two of the hour squares lose a pixel, so maybe make second hand 3 pixel shorter. You can make a x3 wide hour hand and x2 wide minute hand with some thought. Though it's more RAM, I think it's less code. Hour hand now is nearest 1/4 hour rather than just on the hour as before. -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
