Page 1 of 1

OT: My take on a QLOCK2

Posted: Sun 03 Mar 2013 10:46 pm
by mcrossley
Off topic, but I thought it was fun...
The base code isn't mine, but I have modded the original QLOCKTWO to add "it is nearly..." messages.
http://www.wilmslowastro.com/html5/qlock/qlock2.htm

Re: OT: My take on a QLOCK2

Posted: Mon 04 Mar 2013 7:58 am
by steve
It's 0759 now and it's telling me that it is seven o'clock. Should it be saying that it's nearly eight o'clock?

Edit: It's now 0800 and it's correctly saying that it is eight o'clock.

Re: OT: My take on a QLOCK2

Posted: Mon 04 Mar 2013 8:38 am
by mcrossley
Bum, yes it should...

Re: OT: My take on a QLOCK2

Posted: Mon 04 Mar 2013 8:41 am
by mcrossley
...and an obvious error, I failed to relax the bounds checking for the minutes close to the hour. It was still <5 >55, needs to be <3 >58
Should be fixed now.

Re: OT: My take on a QLOCK2

Posted: Mon 04 Mar 2013 8:59 am
by mcrossley
OK, that still needs some work - it doesn't display O'CLOCK when its is 'nearly' the hour.

Re: OT: My take on a QLOCK2

Posted: Tue 09 Apr 2013 9:39 pm
by mikechristelow
:D Largely pointless but great fun!

Re: OT: My take on a QLOCK2

Posted: Wed 10 Apr 2013 7:35 pm
by mikechristelow
Just a thought - how cool would it be to integrate a text-to-speech module with (say) a HAL- or SAL-type voice? :idea:

Re: OT: My take on a QLOCK2

Posted: Thu 11 Apr 2013 3:17 pm
by mcrossley
Go for it :)