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

PabloMK7

Red Yoshi! ^ω^
OP
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,034
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,

LucarioWolf

Well-Known Member
Newcomer
Joined
Jan 14, 2017
Messages
56
Trophies
0
Age
28
XP
190
Country
United States
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.
 

PabloMK7

Red Yoshi! ^ω^
OP
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,034
Country
Spain
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,

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,623
Trophies
3
Age
24
XP
21,040
Country
United States
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.
 

duffmmann

Well-Known Member
Member
Joined
Mar 11, 2009
Messages
3,966
Trophies
2
XP
2,306
Country
United States
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.
 

jt_1258

Ella
Member
Joined
Aug 21, 2016
Messages
3,053
Trophies
2
Age
24
XP
4,883
Country
United States
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
 

duffmmann

Well-Known Member
Member
Joined
Mar 11, 2009
Messages
3,966
Trophies
2
XP
2,306
Country
United States
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

General chit-chat
Help Users
    MrNoobNub @ MrNoobNub: why is everyone so horny