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
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    K3Nv2 @ K3Nv2: @BigOnYa...