I have just been playing around with PrizmSDK and made a test add-in for the Prizm. I noticed there's a function to get the RTC ticks and wrote code to output it to the calculator's screen when the add-in is run.
This allowed me to test a few things I was curious about: if the RTC resets every time you turn off the calculator, or if resets every time you take out the batteries.
From my brief tests, the RTC ticks value "walks" faster than a computer RTC, because what I call a "calculator second", measured by looking to the 3rd digit from the right on the ticks number, is way faster than a real second (IMO it lasts one third or one quarter of a real second).
Plus, and while I didn't do extensive or exact tests on this either, the clock seems to keep counting at the same speed, while the calculator is turned off (by pressing Shift+On).
It also didn't reset to zeros when I removed one of the batteries, but that might have been because I didn't allow enough time for the blue capacitors to empty.
Anyways, I think we should explore the RTC a bit more, and if those who already have information about it are kind enough to post it, it would be great.
All this, because I wonder if it is possible to make the calculator show us the current time and date - from what I know, it shouldn't be a problem, assuming:
- The RTC always goes at the same speed, not affected by processor usage or clock (I highly doubt about the latter)
- The RTC isn't stopped, reset or slowed down when the calculator is powered off
- We can convert between the calculator's "milliseconds" and real milliseconds.
Does anyone have more information about the RTC, which can help this noob answer his questions? Thanks
This allowed me to test a few things I was curious about: if the RTC resets every time you turn off the calculator, or if resets every time you take out the batteries.
From my brief tests, the RTC ticks value "walks" faster than a computer RTC, because what I call a "calculator second", measured by looking to the 3rd digit from the right on the ticks number, is way faster than a real second (IMO it lasts one third or one quarter of a real second).
Plus, and while I didn't do extensive or exact tests on this either, the clock seems to keep counting at the same speed, while the calculator is turned off (by pressing Shift+On).
It also didn't reset to zeros when I removed one of the batteries, but that might have been because I didn't allow enough time for the blue capacitors to empty.
Anyways, I think we should explore the RTC a bit more, and if those who already have information about it are kind enough to post it, it would be great.
All this, because I wonder if it is possible to make the calculator show us the current time and date - from what I know, it shouldn't be a problem, assuming:
- The RTC always goes at the same speed, not affected by processor usage or clock (I highly doubt about the latter)
- The RTC isn't stopped, reset or slowed down when the calculator is powered off
- We can convert between the calculator's "milliseconds" and real milliseconds.
Does anyone have more information about the RTC, which can help this noob answer his questions? Thanks