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,375
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,375
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,375
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:
    Fucking insurance gave me a migraine told me my dentist was in network now they're rejecting claims saying they aren't
  • BigOnYa @ BigOnYa:
    That's what they do the best, pass the buck.
  • Xdqwerty @ Xdqwerty:
    wut
  • K3Nv2 @ K3Nv2:
    Insurance is a thing adults have to blow off
  • BigOnYa @ BigOnYa:
    Insurance is one those things you pay all your life for, no questions asked, all is fine, they take your money. And as soon as you make a claim or something happens, they never want to payout or help, just fight you on everything if it cost them any of your money.
  • BigOnYa @ BigOnYa:
    I've never had a car accident, but I bet I've paid thousands/ million into car insurance that ill never see a dime of prob. Is crazy, but its the law.
  • K3Nv2 @ K3Nv2:
    Liability, drive a old car fuck all that over priced fancy crap
  • BigOnYa @ BigOnYa:
    When you buy a new car, or have a bank loan on it, you have to have full coverage, but yea its a racket
  • realtimesave @ realtimesave:
    u guys on crack? I got in auto accident and insurance paid $6500 to fix my car. they don't pay? whatever.
  • BigOnYa @ BigOnYa:
    But think about how much you have paid them over the years, prob way more than 6500, but that's life, not like we have a choice. Gotta have to cover your ass.
  • K3Nv2 @ K3Nv2:
    You probably drive some fancy dandy electric car that the salesman told you would get you bitches
  • BigOnYa @ BigOnYa:
    He drives a BMW or Benz I think I remember him talking about a $500 oil change
  • Psionic Roshambo @ Psionic Roshambo:
    The secret sauce is, they raise your rates after an accident. You get to pay them back lol
    +1
  • realtimesave @ realtimesave:
    volkswagen beetle
  • SylverReZ @ SylverReZ:
    Psi couldn't pay hospital bills lol.
  • Psionic Roshambo @ Psionic Roshambo:
    He found out how much the ambulance ride was going to cost lol
    +2
  • K3Nv2 @ K3Nv2:
    @BigOnYa, so one the salesman told him would get him bitches
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    In my experience women like a big shift stick with lots of power.
  • Psionic Roshambo @ Psionic Roshambo:
    Something that really burns rubbers
  • BigOnYa @ BigOnYa:
    Only thing a nice car will get you is a gold digger. What happened to falling in love, no matter if I'm on a bus, or driving a nice car. No offense tho, I do like nice cars.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Nothing like tearing ass up on a back road
  • Psionic Roshambo @ Psionic Roshambo:
    BigOnYa I think narcissism has all but killed love
    +2
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, I think I can agree on that.
    +1
    SylverReZ @ SylverReZ: @Psionic Roshambo, I think I can agree on that. +1