Homebrew [Release] ctr-led-brary: C++ library to control the LEDs

  • Thread starter Thread starter PabloMK7
  • Start date Start date
  • Views Views 13,033
  • Replies Replies 25
  • Likes Likes 22

PabloMK7

Red Yoshi! ^ω^
Developer
Joined
Feb 21, 2014
Messages
2,669
Reaction score
2,697
Trophies
4
Age
27
Location
Yoshi's Island
XP
6,244
Country
Spain
Example homebrew:

Practical implementation:

Skip to 4:20 to see it in action.

Features:
ctr-led-brary is a small 3ds c++ library to allow homebrew developers to create and play color patterns with the 3DS LEDs. The library can do the following:

  • Generate different types of color patterns, including constant, linear and sinusoidal.
  • Set the pattern and loop delay and smoothing values.
  • Play and Stop the generated color patterns with the Notification LED.
Planned Features:
  • Add blending operations to allow a bigger range of color patterns to be made.
  • Support the other LEDs (power, camera, 3D slider, wifi)
Documentation & Download:
You can find all the documentation on how to use the library and the download here: Github Page
If you only want the homebrew app shown in the video, download it here: Download

FAQ:
Q: Is this safe?
A: http://gbatemp.net/threads/psa-stop-worrying-about-mcu-bricks.486476/

Credits:
  • @MarcusD : Notification LED research.
  • @PabloMK7 : Creation of the library.
  • All the people involved in ctrulib.
 
Last edited by PabloMK7,
Pretty cool, maybe you can add a color wheel on the touch screen so users can pick a color to be lit up as. Kinda like how TWLoader has it where you can select what ever color you want while playing a DS game.
 
Pretty cool, maybe you can add a color wheel on the touch screen so users can pick a color to be lit up as. Kinda like how TWLoader has it where you can select what ever color you want while playing a DS game.
This is a library to make developers interact with the led in an easier way, it's up to the developer to choose adding a color wheel in their homebrew app.
 
Last edited by PabloMK7,
Hoping it's possible to change the color of the power LED. For DS games, I want it to be green, like on the DS Phat/Lite consoles.
 
It'd be really cool if someone built an NTR plugin for some of the Zelda games so that when your health is low and the low health beeping plays that it also flashes red from the LED, or something like that.
 
It'd be really cool if someone built an NTR plugin for some of the Zelda games so that when your health is low and the low health beeping plays that it also flashes red from the LED, or something like that.
just make sure it's slower, preferably in sinc with the beep, as the 3ds already rapidly flashes the notification light red when about to die
 
Afaik, @Nanquitas may be able to help with that game :P

Really any game with health could be good to tie to the LED, have the LED green when you have full health, then cycle down to yellow, orange, and red as you lose it. I know such NTR LED plugins have been possible for some time now considering there was a topic on it a year or so ago with a proof of concept for Mario Kart 7 where in the Time Trial mode if you hit a ramp the LED would flash. A rather random thing to showcase the ability I suppose, but a proof of concept none the less that such things are definitely possible.
 

Site & Scene News

Popular threads in this forum