Posted Aug 18, 2006 at 02:35AM by Alaric S. Listed in: Homebrew Applications, DS Lite Tags: backlight, Rick Wong
Ó

ds liteRick Wong, who prefers to go by the name of Lick, has released a demo of his homebrew app called DS Lite Brightness Test. The demo (with source) shows how you can set the brightness in DS Lite using libnds. Although this can be done using Moonshell and  ALite, Lick reveals the code to set the brightness level using arm7 code:

To set the brightness:
writePowerManagement((4), level); //level = {0-3}

To read the brightness:
readPowerManagement((4)) - 64; //returns {0-3}


The demo includes:
  • Backlights on/off
  • Lite brightness controlling
  • Read battery status
  • LED control
  • PersonalData reading
Notes:
  • Not tested on the Phatty, yet.
  • PersonalData is UTF-16, which means the display of non-ASCII characters is incorrect.

Download: [DS Lite Brightness Test Demo]


[Via Lick] Permalink  |   Email this  |   Linking Blogs   |   Digg It!

Bookmark / Find this article on:


0 Comments


Sort by:


Add QJ.NET
Add to My Yahoo!
Google Reader Subscribe with Bloglines
Add  to your Kinja digest Subscribe in NewsGator Online
Subscribe with Pluck RSS reader Add 'www.qj.net' to Newsburst from CNET News.com
Subscribe with SearchFox RSS del.icio.us www.qj.net
Add to Technorati Favorite! Add to My AOL
furl! it Stumble for Treehugger!

 Username: 
 Password:
Forgot password
New user registration



Categories
Emulators
Titles
Archives