Re: Crazy Clock



On 30 Oct 2005 12:14:11 -0800, meleeman@xxxxxxxxx wrote, quoted or
indirectly quoted someone who said :

>I need the code for a clock that will run on 100 seconds and 100
>minutes and 15 hours instead of the usual. it needs to have all
>fifteen hours on the face and 7:50 (6 on normal time) should be the
>halfway mark. the major numbers are 4, 7:50, 12, and 15.

This sounds like some prof's silly exercise making it difficult for
the student to cheat by finding a solution.

I would not want to interfere with your education.

Have a look at http://mindprod.com/webstarts/setclock.html
source code.

Also see http://mindprod.com/jgloss/timer.html

The key thing to know about clocks is you use your timer only to
control the frequency of update. You get track the actual time
separately. See http://mindprod.com/jgloss/time.html
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages

  • Re: Repost of Hotpoint Range Question
    ... People refer to "burners" ... has a control board. ... with at least an electronic clock and timer functions but the ... be disabling the oven via the way it does it when you use the timer. ...
    (alt.home.repair)
  • Re: Crazy Clock
    ... > I need the code for a clock that will run on 100 seconds and 100 ... > fifteen hours on the face and 7:50 (6 on normal time) should be the ... We don't mind helping people that are having problems with specific issues ... you can't just come up to an imaginary counter and start ...
    (comp.lang.java.help)
  • Windows XP Clock Wont Stay Set, please help!
    ... I've noticed a couple weeks ago my windows xp clock is ALWAYS 13 ... then proceeds to keep normal time. ... I've tried synchronizing ...
    (microsoft.public.windowsxp.general)
  • Re: Going insane - Xilinx VGA controller...
    ... >I have tried dividing my incoming 25MHz clock by 2 and voilla! ... If you can run the clock at a slower speed and everything works, ... There is a logic path longer than the normal time between clocks. ...
    (comp.arch.fpga)
  • Re: [patch 00/21] hrtimer - High-resolution timer subsystem
    ... Right now the primary function of the state is to tell whether the timer ... > Of course if you consider the possibility of including high resolution ... problem requires solving problems in the clock abstraction first, ...
    (Linux-Kernel)