FSK - Timer
Interim Report:
I have set up some Timer-Actions within TestApp.
App should be run in the Sim-Enviro with the PRS-505 skin.
FreeCell / FreeCell-Skins had to be in the addons-path.
(+) SIZE Starts/Stops Timer Action
Digit changes Card and Timer-Duration
You can also edit JS Code to use .scheduleRepeating instead of .schedule
Code works as expected in the SimEnviro = Card is moved to the right.
But if executed on my PRS-505 some strange things happens:
At a schedule(Repeating) = 1000 the card keeps moving,
at a higher schedule nothing seams to happen until you press a key, then one or more scheduled actions take place. (Ok not so well described).
I assume the
A) screenrefresh or
B) the main-processor
enter any kind of sleep-mode
Havn't tried yet to keep the main-processor bussy by some dummy-calculations in a loop.
PS: For the x50 Series there should be a hardware.timer with the ability to wake a suspended JS-Engine. (I think this is used in the porkupan/boroda x50 firmware to have a "ticking" clock)
Last edited by Mark Nord; 02-08-2011 at 07:34 AM.
Reason: typo
|