CEMETECH
Leading The Way To The Future
Login [Register]
Username:
Password:
Autologin:

Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 110 users online: 2 members, 80 guests and 28 bots.
Members: Thunderbird336.
Bots: VoilaBot (1), Spinn3r (2), MSN/Bing (1), Magpie Crawler (4), Googlebot (19), MSN/Bing (1).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
    » Goto page 1, 2, 3, 4, 5  Next
» View previous topic :: View next topic  
Author Message
AHelper


LONG LIVE COMICTECH


Joined: 30 Jan 2011
Posts: 1657
Location: Aufhelperstan, Utopian Republic

Posted: 19 Feb 2012 09:27:05 pm    Post subject: [Prizm] Clock - it can tell the time...

... not tell the future.

Anyways, I worked on this add-in for a few hours and made it graphically fit-in with the rest of the OS. Basically, the default view of this add-in displays the time and date numerically. A dialog is provided to change the date and time and another dialog to show the author and version. A separate view that shows the calendar was added in 2.0.

Download it and tell me what you think. More will be added to it Wink
_________________
°ᴥ° Get Lucky

<BrandonW> "You don't even want to know what TI Connect does when it's just detecting your calculator...It ACTUALLY ERASES THE SWAP SECTOR on every communication attempt...EVERY SINGLE ATTEMPT...Yes, TI Connect will kill your calculator..What do I have to do to get your attention?!....Such a bloated protocol."


Last edited by AHelper on 20 Feb 2012 10:41:26 pm; edited 1 time in total
Back to top
krazylegodrummer56


Power User


Joined: 20 Nov 2011
Posts: 404

Posted: 19 Feb 2012 11:47:35 pm    Post subject:

I'll get a chance to test it on tuesday or wednsday
_________________
Projects: Learn how to program in Prizm C
First C program!
Tic-Tac-Toe: Get it HERE!




Back to top
AHelper


LONG LIVE COMICTECH


Joined: 30 Jan 2011
Posts: 1657
Location: Aufhelperstan, Utopian Republic

Posted: 20 Feb 2012 03:09:03 am    Post subject:

I have the calendar view finished. It only supports viewing the current month, but it will soon give you a cursor that can choose days and change months/years. This will eventually lead to a day planner, but I don't know how far I will go.

Sorry for the explosion in updates, 1.0 got the clock, 1.1 did critical bug fixes. 2.0 will have the calendar added, 2.x will most likely be bug fixes, and 3.0 should be the planner. Somewhere along those releases will be more clock displays (what else can a clock add-in do? Razz)
_________________
°ᴥ° Get Lucky

<BrandonW> "You don't even want to know what TI Connect does when it's just detecting your calculator...It ACTUALLY ERASES THE SWAP SECTOR on every communication attempt...EVERY SINGLE ATTEMPT...Yes, TI Connect will kill your calculator..What do I have to do to get your attention?!....Such a bloated protocol."
Back to top
flyingfisch


Super-Expert


Joined: 02 Feb 2012
Posts: 893
Location: Akron, OH

Posted: 20 Feb 2012 10:33:34 am    Post subject:

Oh cool. Could you integrate a to-do list also? (long-term, of course)
_________________



Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

Posted: 20 Feb 2012 10:37:34 am    Post subject:

Needs more screenshots! I unfortunately haven't gotten a chance to test it out yet, but I'd love to include it in the eternally-upcoming Cemetech news article about the ramp-up in Prizm dev here at Cemetech.
_________________


Back to top
flyingfisch


Super-Expert


Joined: 02 Feb 2012
Posts: 893
Location: Akron, OH

Posted: 20 Feb 2012 11:18:32 am    Post subject:

How well does it tell time? The clock app for 9860 lost about 10min a week.
_________________



Back to top
Purobaz


Advanced Newbie


Joined: 26 Nov 2011
Posts: 67
Location: France

Posted: 20 Feb 2012 12:38:15 pm    Post subject:

Does it run down the batteries ?
_________________
Back to top
flyingfisch


Super-Expert


Joined: 02 Feb 2012
Posts: 893
Location: Akron, OH

Posted: 20 Feb 2012 12:43:24 pm    Post subject:

I think it uses the RTC, so i dont think it runs down batteries.
_________________



Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

Posted: 20 Feb 2012 12:45:17 pm    Post subject:

No, it uses the existing Real-Time Clock (RTC) features of the hardware, and thus doesn't run down the batteries any more than normal. I'd imagine that it's not a super-accurate clock, although I hope it's better accuracy than +/- 10m per week (that's 10/10080, 1/1008, or 0.099% loss, or 99.901% accuracy).
_________________


Back to top
flyingfisch


Super-Expert


Joined: 02 Feb 2012
Posts: 893
Location: Akron, OH

Posted: 20 Feb 2012 12:51:55 pm    Post subject:

KermMartian wrote:
No, it uses the existing Real-Time Clock (RTC) features of the hardware, and thus doesn't run down the batteries any more than normal. I'd imagine that it's not a super-accurate clock, although I hope it's better accuracy than +/- 10m per week (that's 10/10080, 1/1008, or 0.099% loss, or 99.901% accuracy).


I hope so too. one thing though, does overclocking effect the rtc?
_________________



Back to top
Ashbad


... I think redheaded girls are kind of cool


Joined: 01 Dec 2010
Posts: 2417
Location: Stomp Stomp Stomp, The Idiot Convention

Posted: 20 Feb 2012 01:34:00 pm    Post subject:

flyingfisch wrote:
KermMartian wrote:
No, it uses the existing Real-Time Clock (RTC) features of the hardware, and thus doesn't run down the batteries any more than normal. I'd imagine that it's not a super-accurate clock, although I hope it's better accuracy than +/- 10m per week (that's 10/10080, 1/1008, or 0.099% loss, or 99.901% accuracy).


I hope so too. one thing though, does overclocking effect the rtc?


It shouldn't, the RTC aims at being timing-dependent from the execution timing scheme.

EDIT: and of course, back on topic, I shall be trying this out later today. Nice work AHelper! Smile
_________________
-Ashbad
Back to top
helder7


Member


Joined: 23 Dec 2011
Posts: 136

Posted: 20 Feb 2012 01:50:13 pm    Post subject:

Awesome, AHelper Very Happy
_________________
SiO2 + CaCO3 ----------> CaSiO3 + CO2
Back to top
gbl08ma


Power User


Joined: 26 Nov 2011
Posts: 475
Location: Portugal

Posted: 20 Feb 2012 03:05:01 pm    Post subject:

Awesome! I will try this as soon as I get home. A friend of mine has a clock utility on her 9860 and it has shown no drift so far. Perhaps that RTC error is specific to some models of 9860.
_________________
My blog, where I write about random things... | tiny URL shortener
View JPEG images on your Prizm | Utilities for the Casio Prizm - clock, stopwatch, calendar/agenda, add-in manager and more!
Back to top
flyingfisch


Super-Expert


Joined: 02 Feb 2012
Posts: 893
Location: Akron, OH

Posted: 20 Feb 2012 03:18:30 pm    Post subject:

gbl08ma wrote:
Awesome! I will try this as soon as I get home. A friend of mine has a clock utility on her 9860 and it has shown no drift so far. Perhaps that RTC error is specific to some models of 9860.


Maybe, or maybe it has to do with my '9860gii' being a hacked 9750gii. or maybe because i overclocked it all the time. I don't know Very Happy
_________________



Back to top
gbl08ma


Power User


Joined: 26 Nov 2011
Posts: 475
Location: Portugal

Posted: 20 Feb 2012 06:01:52 pm    Post subject:

I just tried it on my CG20. It works well, and I think I found a minor mistake: on the set clock screen, it says the time/date is in format HMS/DMY. But instead, what it allows you to enter and what it displays on the main screen is in format HMS/MDY (MDY instead of DMY).

Personally, I prefer to see the date in DMY format... of course, one of the things you should add to this add-in is configurable time formats (12 hour or 24 hour clock, DMY, MDY or YMD date..., "Monday, 20th February 2012" or "Monday, February 20", etc.).
Other feature suggestions:
- Stopwatch and countdown (the 9860 utility my friend has installed has this, and you never know when it may come handy)
- Calendar with event planning (it seems you already have this planned)
- Network (CALCnet?) calendar sync (one day, who knows? Razz )
_________________
My blog, where I write about random things... | tiny URL shortener
View JPEG images on your Prizm | Utilities for the Casio Prizm - clock, stopwatch, calendar/agenda, add-in manager and more!
Back to top
Sarah


Advanced Member


Joined: 17 Sep 2011
Posts: 261

Posted: 20 Feb 2012 06:52:06 pm    Post subject:

Might I ask, would it be possible to use this to design a "WAIT(#of seconds)" command?
_________________
I have a [Prizm].
Back to top
AHelper


LONG LIVE COMICTECH


Joined: 30 Jan 2011
Posts: 1657
Location: Aufhelperstan, Utopian Republic

Posted: 20 Feb 2012 07:00:35 pm    Post subject:

gbl08ma wrote:
I just tried it on my CG20. It works well, and I think I found a minor mistake: on the set clock screen, it says the time/date is in format HMS/DMY. But instead, what it allows you to enter and what it displays on the main screen is in format HMS/MDY (MDY instead of DMY).

Personally, I prefer to see the date in DMY format... of course, one of the things you should add to this add-in is configurable time formats (12 hour or 24 hour clock, DMY, MDY or YMD date..., "Monday, 20th February 2012" or "Monday, February 20", etc.).
Other feature suggestions:
- Stopwatch and countdown (the 9860 utility my friend has installed has this, and you never know when it may come handy)
- Calendar with event planning (it seems you already have this planned)
- Network (CALCnet?) calendar sync (one day, who knows? Razz )


Thanks for trying!

Hehe, didn't realize I typed the format incorrectly. I may add in locale settings to change it from MDY to something else, but I need to rewrite the dialog and add in some sort of saving (which I need to do anyways).

A stopwatch can be added.

The calendar part should be done in a few hours. It will simply display a month view of a calendar. I was thinking about having events added, letting you view the day in week and day formats. Possibly iCalendar support.

Sarah wrote:
Might I ask, would it be possible to use this to design a "WAIT(#of seconds)" command?


Like a stopwatch/countdown timer? Or do you mean use the RTC in another add-in to wait for a specified amount of time? Both can be done.
_________________
°ᴥ° Get Lucky

<BrandonW> "You don't even want to know what TI Connect does when it's just detecting your calculator...It ACTUALLY ERASES THE SWAP SECTOR on every communication attempt...EVERY SINGLE ATTEMPT...Yes, TI Connect will kill your calculator..What do I have to do to get your attention?!....Such a bloated protocol."
Back to top
Sarah


Advanced Member


Joined: 17 Sep 2011
Posts: 261

Posted: 20 Feb 2012 07:03:56 pm    Post subject:

AHelper wrote:
gbl08ma wrote:
I just tried it on my CG20. It works well, and I think I found a minor mistake: on the set clock screen, it says the time/date is in format HMS/DMY. But instead, what it allows you to enter and what it displays on the main screen is in format HMS/MDY (MDY instead of DMY).

Personally, I prefer to see the date in DMY format... of course, one of the things you should add to this add-in is configurable time formats (12 hour or 24 hour clock, DMY, MDY or YMD date..., "Monday, 20th February 2012" or "Monday, February 20", etc.).
Other feature suggestions:
- Stopwatch and countdown (the 9860 utility my friend has installed has this, and you never know when it may come handy)
- Calendar with event planning (it seems you already have this planned)
- Network (CALCnet?) calendar sync (one day, who knows? Razz )


Thanks for trying!

Hehe, didn't realize I typed the format incorrectly. I may add in locale settings to change it from MDY to something else, but I need to rewrite the dialog and add in some sort of saving (which I need to do anyways).

A stopwatch can be added.

The calendar part should be done in a few hours. It will simply display a month view of a calendar. I was thinking about having events added, letting you view the day in week and day formats. Possibly iCalendar support.

Sarah wrote:
Might I ask, would it be possible to use this to design a "WAIT(#of seconds)" command?


Like a stopwatch/countdown timer? Or do you mean use the RTC in another add-in to wait for a specified amount of time? Both can be done.


I meant like, add a command to the program editor, so that if I had a program that was otherwise normal, and it ran into "Wait(5)", the program would wait 5 seconds at that line before proceeding.
_________________
I have a [Prizm].
Back to top
AHelper


LONG LIVE COMICTECH


Joined: 30 Jan 2011
Posts: 1657
Location: Aufhelperstan, Utopian Republic

Posted: 20 Feb 2012 08:31:41 pm    Post subject:

Currently, there is no way on the prizm to do that. There is a topic about doing that on older casio models, however.

Now for a question: How do I manually clear out the alpha status? Not the icon, but change the status.

<edit>

New version released!

Grab v2.0 and you will have the calendar mode enabled. Navigating through the menus should be straight-forward. This only have the calendar month-view added. The event section wasn't created yet.
_________________
°ᴥ° Get Lucky

<BrandonW> "You don't even want to know what TI Connect does when it's just detecting your calculator...It ACTUALLY ERASES THE SWAP SECTOR on every communication attempt...EVERY SINGLE ATTEMPT...Yes, TI Connect will kill your calculator..What do I have to do to get your attention?!....Such a bloated protocol."
Back to top
gbl08ma


Power User


Joined: 26 Nov 2011
Posts: 475
Location: Portugal

Posted: 21 Feb 2012 06:05:06 am    Post subject:

I updated, and the calendar works well, except for one thing: when I want to jump to a specific date and I input a year before 2000 (that is, 1999 for example), it goes to a year between 1000 and 1023... Years before 1008 work fine.
Now that I looks more carefully to it, this seems to happen with other thousands too:
Specifying 0999/0998/0997... goes to wrong year
Specifying 1999/1998/1997... goes to wrong year
Specifying 2999/2998/2997... wrong year
3999/3998/3997... wrong year...
And so on, up to 9999. I hope you understand what 'unwanted feature' I just reported Smile

Other 'unwanted feature' is: if you go to 01/01/0000, you will see the first row of the January calendar has some strange numbers...

Oh, and I almost forgot: in the year 0, you can walk forward in months (pressing F3), but you can't walk back (pressing F2). Once you get to January year 1, you can go to the previous month (December 0, pressing F2), but it won't allow you to go back from there.

Keep up the great work! Smile
_________________
My blog, where I write about random things... | tiny URL shortener
View JPEG images on your Prizm | Utilities for the Casio Prizm - clock, stopwatch, calendar/agenda, add-in manager and more!
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page 1, 2, 3, 4, 5  Next
» View previous topic :: View next topic  
Page 1 of 5 » All times are GMT - 5 Hours

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.047398 seconds.