Hi all,
Is there any way to control screen light?
I need to turn screen light back on after it has been
dimmed down while staying idle long enough..
I'm using alpha 1.1.6 2nd ed. fp2
Thanks!
Hi all,
Is there any way to control screen light?
I need to turn screen light back on after it has been
dimmed down while staying idle long enough..
I'm using alpha 1.1.6 2nd ed. fp2
Thanks!
You need the miso library from
http://pdis.hiit.fi/pdis/download/miso/
Then use this code
You can make it always on as wellCode:import miso miso.reset_inactivity_time()
Code:def light_on(): import miso, e32 miso.reset_inactivity_time() e32.ao_sleep(10, light_on) # forever loop light_on() # always keep light on
Last edited by korakotc; 2005-09-18 at 15:20.
This will panic the application if there is a sleep call pending during an application exit.Originally Posted by korakotc