Homebrew [Release] 3DS RGB LED test program

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,374
Country
Hungary
so its safe¿?

Yes, I'm now speaking with yellows8, and I just tested his code, and it didn't brick my old3DS, so I guess it was just extremely bad luck

Edit: yes, you can power off :P and it'll even have a cool effect when you turn it back on :D
 
Last edited by Sono,

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,374
Country
Hungary
can u do something like to do a special notification with a custom-choice led¿?

Well, this is an RGB LED, so it can display 2^24 possible colors, so you can program it as you want! You have 32 pattern slots for each color, and you can set smoothing and speed, so I guess it's good enough :P
 

Angelcraft

Well-Known Member
Member
Joined
Sep 8, 2015
Messages
536
Trophies
0
Age
29
XP
363
Country
Spain
Well, this is an RGB LED, so it can display 2^24 possible colors, so you can program it as you want! You have 32 pattern slots for each color, and you can set smoothing and speed, so I guess it's good enough :P
idk how i dont know programming Im learning :teach:
 
D

Deleted User

Guest
It doesnt for me; shutting and opening my o3DS xL doesnt clear it :P
EDIT: The fading in white is really funny; it paused when I put in my PIN :P
 
Last edited by ,

Februarysn0w

Well-Known Member
Member
Joined
Oct 31, 2014
Messages
1,206
Trophies
0
Age
36
XP
837
Country
Japan
Just compiled it to 3dsx. launched via Homebrew Launcher. this makes HBL Very cool! on the HBL will automatically close the program itself and blinking background! and keep blinking after you close the HBL.
 

Attachments

  • MCU.rar
    18.5 KB · Views: 223

Mikemk

Well-Known Member
Member
Joined
Mar 26, 2015
Messages
2,091
Trophies
1
Age
28
XP
3,129
Country
United States
In x86, there's a [kernel-level] cli instruction that'll disable interrupts. If there's an ARM equivalent, you could possibly use it to protect against bricks.
 

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,825
Trophies
2
Location
home
XP
9,374
Country
Hungary
Got a way to compile this?

Ye, use any makefile, and just put the sooscode in the soos folder :P

This wouldn't risk an I2C firmware wipeout? MCU brick is unrecoverable even with Hardmod.

I have mentioned countless times, this is safe!

It doesnt for me; shutting and opening my o3DS xL doesnt clear it :P
EDIT: The fading in white is really funny; it paused when I put in my PIN :P

It takes a little bit of time to enter sleep mode :P I said "exiting sleep mode" for a good reason :P

In x86, there's a [kernel-level] cli instruction that'll disable interrupts. If there's an ARM equivalent, you could possibly use it to protect against bricks.

iirc you are not allowed to disable interrupts, but it doesn't matter anyways because how the MCU communication works.

ARM11:
homebrew -> ptm:sysm -> mcu::RTC or mcu::HWC -> mcu sysmodule queue -> I2C -> MCU
ARM9:
I2C <--> MCU

as you can see, disabling interrupts would have no effect at all.
 

PabloMK7

Red Yoshi! ^ω^
Developer
Joined
Feb 21, 2014
Messages
2,604
Trophies
2
Age
24
Location
Yoshi's Island
XP
5,041
Country
Spain
I use this function to get an accurate rainbow pattern (it's made in lua, so you'll have to translate it to C)
Code:
red = math.modf(math.sin(0.00202683548*Timer.getTime(rnbw_timer) + 0) * 127 + 128)
green = math.modf(math.sin(0.00202683548*Timer.getTime(rnbw_timer) + 2.0943951) * 127 + 128)
blue = math.modf(math.sin(0.00202683548*Timer.getTime(rnbw_timer) + 4.1887902) * 127 + 128)
Note that rnbw_timer is a variable that goes from 0 to 3100.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    They make good burning plastic
  • BigOnYa @ BigOnYa:
    Makes me wonder if the Pi5 can play PS2? If there's even a core for it yet.
  • K3Nv2 @ K3Nv2:
    Pi5 should be able to do ps2
  • Psionic Roshambo @ Psionic Roshambo:
    Try Dragon Quest VIII it ran perfectly on a core 2 Duo I had
  • Psionic Roshambo @ Psionic Roshambo:
    Easiest game to run I found
  • K3Nv2 @ K3Nv2:
    Ps2 emulation is cake compared to 3 years ago
  • Psionic Roshambo @ Psionic Roshambo:
    Hardest is probably Gran Turismo 4
  • Psionic Roshambo @ Psionic Roshambo:
    It's much better now yes but Gran Turismo 4 is still the hardest one to emulate that I have in my collection
  • Psionic Roshambo @ Psionic Roshambo:
    Runs perfectly fine but it's as if I can feel it always on the boarder line of dropping a frame lol
  • BigOnYa @ BigOnYa:
    I ordered a spin ball couple days ago to add to my arcade cabinet, will be nice for games like golden tee, or bowling
  • Psionic Roshambo @ Psionic Roshambo:
    I always wanted a controller for like Ikari Warriors, Time Soldiers, Heavy Barrel, Forgotten Worlds games like those
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not even sure what to call that controller
  • Xdqwerty @ Xdqwerty:
    an online friend I've known since 2021 left me :( bc my attitude is "cutty"
  • Psionic Roshambo @ Psionic Roshambo:
    Sylvester Stallone should have played Kyle Reese lol Arnold still as the Terminator
  • BakerMan @ BakerMan:
    TF DOES "CUTTY" EVEN MEAN?
  • Xdqwerty @ Xdqwerty:
    @BakerMan, he is peruvian so it's probably an idiom
  • BigOnYa @ BigOnYa:
    I thought Cutty was a west coast rapper
  • K3Nv2 @ K3Nv2:
    Cutter
  • Psionic Roshambo @ Psionic Roshambo:
    Dr Cutty
  • Psionic Roshambo @ Psionic Roshambo:
    It's from House MD lol
  • K3Nv2 @ K3Nv2:
    I took too much viagra Dr cutty oh wait
    +1
  • Ligudink @ Ligudink:
    What in the goddamn
  • Xdqwerty @ Xdqwerty:
    @Ligudink, welcome to the gbatemp chat
    +1
  • Ligudink @ Ligudink:
    I've sen enough HAHAHA
    +1
    Ligudink @ Ligudink: I've sen enough HAHAHA +1