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

PabloMK7

Red Yoshi! ^ω^
OP
Developer
Joined
Feb 21, 2014
Messages
2,614
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,166
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,614
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,166
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,648
Trophies
3
Age
24
XP
21,115
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,055
Trophies
2
Age
24
XP
4,898
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
  • BakerMan @ BakerMan:
    @K3Nv2 AncientBoi is literally him
    iu
  • K3Nv2 @ K3Nv2:
    @Psionic Roshambo, that's what he's hoping for
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Mini me we do not bite the kitty
  • K3Nv2 @ K3Nv2:
    It must be poop day
  • BakerMan @ BakerMan:
    also, i've tried to put my simping ways aside a bit, but i just gotta say before i go
  • BakerMan @ BakerMan:
    lorelei from pokemon is so fuckin bad bro
  • BladeHart @ BladeHart:
    Does anyone know how to unlock all the smash ultimate characters with a hacked switch
  • K3Nv2 @ K3Nv2:
    Spend 50 hours playing the game
  • Psionic Roshambo @ Psionic Roshambo:
    Gotta smash em all!
  • Psionic Roshambo @ Psionic Roshambo:
    STDs as Pokemon hmmm Gonorrhea kind of sounds Pokemonish lol
  • Psionic Roshambo @ Psionic Roshambo:
    Gonorrhea used scabs and sores it was super effective!
  • Psionic Roshambo @ Psionic Roshambo:
    Nintendo should do a health PSA like that lol
  • K3Nv2 @ K3Nv2:
    Nintendo becomes responsible for 2024s virus
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Only 666 dollars for 24TBs lol
  • K3Nv2 @ K3Nv2:
    Two of these half the price Seagate Barracuda Pro 12TB Internal Hard Drive Performance HDD – 3.5 Inch SATA 6 Gb/s 7200 RPM 256MB Cache for Computer Desktop (ST12000DM0007) (Renewed) https://a.co/d/cpVKNo1
  • BigOnYa @ BigOnYa:
    *Renewed. I don't like or trust "renewed, refurbished, reconditioned" anything.
  • K3Nv2 @ K3Nv2:
    I renewed your wife
    +1
  • BigOnYa @ BigOnYa:
    Renewed is like following Psi around on his dates, then when he done doing the deed, he taps me in without her cleaning up first, no thanks
  • K3Nv2 @ K3Nv2:
    That's not being renewed that's unlocking more medical bills from stds
    +1
  • BigOnYa @ BigOnYa:
    Somethings maybe, but drives are rated in hours, so most likely many hours already on them. I just don't trust em for data. Maybe a used(renewed) car or something be ok tho.
  • K3Nv2 @ K3Nv2:
    I like my girls like my car made in 2000
    +1
  • BigOnYa @ BigOnYa:
    I like my products new, not buying a box of condoms (renewed)
  • K3Nv2 @ K3Nv2:
    You already learned from buying used condoms from the first kid
    K3Nv2 @ K3Nv2: You already learned from buying used condoms from the first kid