Hi!
I would like to know if its better to place a e32.sleep(x)
statement within a while true slope?
What does the sleep function - is it just another while
statement???
Is there an advantage according to battery life or
other things???
Kind regards!
Hi!
I would like to know if its better to place a e32.sleep(x)
statement within a while true slope?
What does the sleep function - is it just another while
statement???
Is there an advantage according to battery life or
other things???
Kind regards!
Hello,
e32.ao_sleep(x) tells the program to wait x seconds before moving on to the next instructions. At its simplest form, it can be described as
Code:while (time is not up yet): do nothing
Last edited by bogdan.galiceanu; 2008-03-21 at 04:11.
Pankaj Nathani
www.croozeus.com
Gargi Das- http://gargidas.blogsot.com
Forum Nokia Python Wiki
Learn Python at http://mobapps.org/PyS60
Gargi Das- http://gargidas.blogsot.com
Forum Nokia Python Wiki
Learn Python at http://mobapps.org/PyS60