Post Reply 
Have you used your calculator for something that was not really math related?
03-09-2017, 05:39 PM
Post: #13
RE: Have you used your calculator for something that was not really math related?
(03-09-2017 09:55 AM)Garth Wilson Wrote:  I'm not sure what you're asking.

When I programmed the "life gamification" algorithm (should be here , wait I do not have on a git page.) it uses a wait function to count the elapsed time. The problem is that counting the elapsed on the hp 50g, for what I know, needs a busy wait.

The command should be
Code:

updateTime WAIT KEY
   @wait for X seconds waiting also for a key

But the wait in the hp50g is busy, it means it counts the time passed after each tick until the amount of time passed equals the argument. See: https://en.wikipedia.org/wiki/Busy_waiting

This affects the batteries because actually instead of putting the calculator in "wait mode", the cpu computes actively the time units passed.

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Have you used your calculator for something that was not really math related? - pier4r - 03-09-2017 05:39 PM



User(s) browsing this thread: 1 Guest(s)