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

PabloMK7

Red Yoshi! ^ω^
OP
Developer
Joined
Feb 21, 2014
Messages
2,616
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,175
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,616
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,175
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,649
Trophies
3
Age
24
XP
21,122
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,903
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
  • Psionic Roshambo @ Psionic Roshambo:
    Lol they exist?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm so Mario Does Luigi's plumbing is a bad movie? Lol
  • Psionic Roshambo @ Psionic Roshambo:
    These videos are soooo dry
  • Psionic Roshambo @ Psionic Roshambo:
    Please click all suspicious links sent your email
    +1
  • BigOnYa @ BigOnYa:
    What to do today? Cut grass for 3-4 hours, or just get drunk and play video games... Hmm
    +1
  • BigOnYa @ BigOnYa:
    I need a remote controlled mower, so I can sit on the couch and do both.
  • BigOnYa @ BigOnYa:
    Sounds good to me, video games and booze it is then.
    +1
  • denpafan @ denpafan:
    Good choice
    +1
  • BigOnYa @ BigOnYa:
    Now what to play, Starfield or Fallout4. And what to drink, beer or Whiskey and Coke. Such tough decisions.
  • BigOnYa @ BigOnYa:
    Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog:
  • rqkaiju2 @ rqkaiju2:
    THIS IMAGE IS SO SCARY WTF. THAT SURE AS HELL IS NOT A CAT THATS LIKE A FUCKING DEMON

    Untitled2.png
  • Psionic Roshambo @ Psionic Roshambo:
    Bonus points for running things over with the lawn mower?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Monster truck Lawn Mower extreme
    +1
  • BakerMan @ BakerMan:
    she was an apple appstore girl
    he was an uptodown boy
  • Psionic Roshambo @ Psionic Roshambo:
    He was an android boy
  • Psionic Roshambo @ Psionic Roshambo:
    She said see ya later boy lol
  • BakerMan @ BakerMan:
    something something boomer and r/im14andthisisdeep "ThAt'S tHe UnFoRtUnAtE sTaTe Of OuR mOdErN sOcIeTy"
  • BakerMan @ BakerMan:
    except they'd criticize you for having a phone in the first place lmao
  • Psionic Roshambo @ Psionic Roshambo:
    In my day we used smoke signals and liked it!!!
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    5G gives you covid!! Kills bees and lets the devil control your sperm!!! *Walks away frothing at the mouth*
    +1
  • BakerMan @ BakerMan:
    back in my day we just talked in person to communicate, and used books for entertainment, now pull yourself up by the bootstraps and develop a sense of work ethic, ya darn whippersnappers!
  • NormalCatelol @ NormalCatelol:
    "lets the devil control you sperm!!!" iwantsummadat!
    NormalCatelol @ NormalCatelol: "lets the devil control you sperm!!!" iwantsummadat!